powered by
utsf
Plot the time series and its associated forecast.
# S3 method for utsf autoplot(object, ...)
The ggplot object representing a plotting of the time series and its forecast.
ggplot
An object of class utsf.
additional parameter.
f <- forecast(AirPassengers, h = 12, lags = 1:12, method = "rf") library(ggplot2) autoplot(f)
Run the code above in your browser using DataLab