autoplot.utsf | R Documentation |
utsf
objectPlot the time series and its associated forecast.
## S3 method for class 'utsf'
autoplot(object, ...)
object |
An object of class |
... |
additional parameter. |
The ggplot
object representing a plotting of the time series and
its forecast.
f <- forecast(AirPassengers, h = 12, lags = 1:12, method = "rf")
library(ggplot2)
autoplot(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.