STL decomposition method applied to the time series, then an AR model is used to forecast seasonally adjusted data, while the seasonal naive method is used to forecast the seasonal component
stlar(y, h = 10, s.window = 11, robust = FALSE)
return object of class forecast
a univariate time series
forecast horizon
Either the character string “periodic” or the span (in lags) of the loess window for seasonal extraction
logical indicating if robust fitting be used in the loess procedue
Thiyanga Talagala