plot.bats: Plot components from BATS model

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
2
3
4
## 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

1
2
3
4
## Not run: 
fit <- tbats(USAccDeaths)
plot(fit)
## End(Not run)

pli2016/forecast documentation built on May 25, 2019, 8:22 a.m.