powered by
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}.
thetam
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.
seq(51, 99, by = 3)
Ignored
An object of class forecast
forecast
# NOT RUN { mod1 <- thetam(Nile) fc1 <- forecast(mod1) plot(fc1) # }
Run the code above in your browser using DataLab