R: Plot components from BATS model

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

    ## Not run:
    fit <- tbats(USAccDeaths)
    plot(fit)
    ## End(Not run)

[Package forecast version 8.0 Index]