R: Extract components of a TBATS model

tbats.components {forecast} | R Documentation

## Extract components of a TBATS model

### Description

Extract the level, slope and seasonal components of a TBATS model.

### Usage

    tbats.components(x)

### Arguments

`x` | A tbats object created by `tbats`.

### Value

A multiple time series (`mts`) object.

### Author(s)

Slava Razbash and Rob J Hyndman

### References

De Livera, A.M., Hyndman, R.J., & Snyder, R. D. (2011), Forecasting time series with complex seasonal patterns using exponential smoothing, Journal of the American Statistical Association, 106(496), 1513-1527.

### See Also

`tbats`.

### Examples

    ## Not run:
    fit <- tbats(USAccDeaths, use.parallel=FALSE)
    components <- tbats.components(fit)
    plot(components)
    ## End(Not run)

[Package forecast version 8.2 Index]