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