plot.garma_model {garma} | R Documentation |
The plot function generates a plot of actuals and predicted values for a "garma_model" object.
## S3 method for class 'garma_model'
plot(x, ...)
x |
(garma_model) The garma_model from which to plot the values. |
... |
other arguments to be passed to the "plot" function, including h (int) - the number of periods ahead to forecast. |
An R "plot" object.
data(AirPassengers)
ap <- as.numeric(diff(AirPassengers, 12))
mdl <- garma(ap, order = c(9, 1, 0), k = 0, method = "CSS", include.mean = FALSE)
plot(mdl)