Skip to contents

autoplot() is the ggplot2-idiomatic entry point and returns the same ggplot object as plot(), so the result can be further customised with + ... layers.

Usage

# S4 method for class 'horizon'
plot(x, y, ...)

# S3 method for class 'horizon'
autoplot(object, ...)

Arguments

x

An object of class horizon

...

Additional optional arguments: hjust (numeric) to adjust the horizontal position of the intervals, accepts values between 0 and 1.

object

An object of class horizon.

Value

A ggplot object.

Examples

NULL
#> NULL