powered by
Extract the level, slope and seasonal components of a TBATS model.
tbats.components(x)
A tbats object created by tbats.
tbats
A multiple time series (mts) object.
mts
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.
tbats.
# NOT RUN { # } # NOT RUN { fit <- tbats(USAccDeaths, use.parallel=FALSE) components <- tbats.components(fit) plot(components) # } # NOT RUN { # }
Run the code above in your browser using DataLab