a number or vector describing the seasonalities (S_1, ..., S_K) in
the data, e.g. c(24, 168) if the data consists of 24 observations per day
and there is a weekly seasonality in the data.
wsize
is filter/rolling med size
use.trend
if TRUE, uses standard decomposition. If FALSE, uses no
trend component.
K
a sigma (standard deviation) bound. The observations that exceed
sigma*K become reduced weight in the regression.
ICpen
is the information criterion penalty, e.g. string "BIC", "HQC"
or "AIC", or a fixed number.
extreg
a vector, matrix or data frame of data containing external
regressors; each column is a variable.
use.autoregressive
if TRUE, removes the autoregression from the
series. If NULL, it is derived data based.
Value
A list which contains a vector of fitted values, a vector of weights
given to the original time series, and a matrix of components of the
decomposition.*tsrobprep