y, as described in De Livera, Hyndman & Snyder (2011). Parallel processing is used by default to speed up the computations.tbats(y, use.box.cox=NULL, use.trend=NULL, use.damped.trend=NULL,
seasonal.periods=NULL, use.arma.errors=TRUE, use.parallel=TRUE,
num.cores=NULL, bc.lower=0, bc.upper=1, ...)numeric, msts or ts. Only univariate time series are supported.TRUE/FALSE indicates whether to use the Box-Cox transformation or not. If NULL then both are tried and the best fit is selected by AIC.TRUE/FALSE indicates whether to include a trend or not. If NULL then both are tried and the best fit is selected by AIC.TRUE/FALSE indicates whether to include a damping parameter in the trend or not. If NULL then both are tried and the best fit is selected by AIC.y is numeric then seasonal periods can be specified with this parameter.TRUE/FALSE indicates whether to include ARMA errors or not. If TRUE the best fit is selected by AIC. If FALSE then the selection algorithm does not consider ARMA errors.TRUE/FALSE indicates whether or not to use parallel processing.NULL then the number of logical cores is detected.auto.arima when choose an ARMA(p, q) model for the errors.c("tbats", "bats"). The generic accessor functions fitted.values and residuals extract useful features of
the value returned by bats and associated functions.tbats.components.fit <- tbats(USAccDeaths, use.parallel=FALSE)
plot(forecast(fit))
taylor.fit <- tbats(taylor)
plot(forecast(taylor.fit))Run the code above in your browser using DataLab