plot.bats {forecast}R Documentation

Plot components from BATS model

Description

Produces a plot of the level, slope and seasonal components from a BATS or TBATS model.

Usage

## S3 method for class 'bats'
plot(x, main="Decomposition by BATS model", ...) 
## S3 method for class 'tbats'
plot(x, main="Decomposition by TBATS model", ...) 

Arguments

x

Object of class “ets”.

main

Main title for plot.

...

Other plotting parameters passed to par.

Value

None. Function produces a plot

Author(s)

Rob J Hyndman

See Also

bats,tbats

Examples

fit <- bats(USAccDeaths)
plot(fit)

fit2 <- tbats(USAccDeaths)
plot(fit2)

[Package forecast version 3.24 Index]