plot.garma_model function

Plot Forecasts from model.

Plot Forecasts from model.

The plot function generates a plot of actuals and predicted values for a "garma_model" object.

## S3 method for class 'garma_model' plot(x, ...)

Arguments

  • 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.

Returns

An R "plot" object.

Examples

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)