plot.garma_model {garma}R Documentation

Plot Forecasts from model.

Description

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

Usage

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

Value

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)

[Package garma version 0.9.13 Index]