plot.bats: 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
...
Other plotting parameters passed to par
. Value
- None. Function produces a plot
Examples
Run this codefit <- tbats(USAccDeaths)
plot(fit)
Run the code above in your browser using DataLab