Learn R Programming

forecastHybrid (version 5.0.19)

plot.thetam: Plot components from Theta model

Description

Produces a plot of the level components from the ETS model underlying a Theta model

Usage

# S3 method for thetam
plot(x, ...)

Arguments

x

Object of class "thetam".

...

Other plotting parameters passed through to plot

Value

None. Function produces a plot.

Details

The "state" component of the plot comes from the model ets(..., model = "ANN") that was fit as part of the theta method. The "seasonal" component is the multipliers from multiplicative classical decomposition seasonal adjustment that is performed before the ets model is fit. The "linear" component shows the direction and slope of drift that is used in the forecasting to come.

See Also

thetam

Examples

Run this code
# NOT RUN {
model <- thetam(wineind)
plot(model)
# }

Run the code above in your browser using DataLab