Last chance! 50% off unlimited learning
Sale ends in
Returns forecasts and other information for univariate Theta "models"
# S3 method for thetam
forecast(object, h = ifelse(object$m > 1, 2 * object$m,
10), level = c(80, 95), fan = FALSE, ...)
An object of class "thetam
. Usually the result of a call to link{thetam}
.
Number of periods for forecasting
Confidence level for prediction intervals
If TRUE, level is set to seq(51, 99, by = 3)
. This is suitable for fan plots.
Ignored
An object of class forecast
# NOT RUN {
mod1 <- thetam(Nile)
fc1 <- forecast(mod1)
plot(fc1)
# }
Run the code above in your browser using DataLab