forecast.thetam {forecastHybrid} | R Documentation |
Forecast using a Theta model
Description
Returns forecasts and other information for univariate Theta "models"
Usage
## S3 method for class 'thetam'
forecast(
object,
h = ifelse(object$m > 1, 2 * object$m, 10),
level = c(80, 95),
fan = FALSE,
...
)
Arguments
object |
An object of class " |
h |
Number of periods for forecasting |
level |
Confidence level for prediction intervals |
fan |
If TRUE, level is set to |
... |
Ignored |
Value
An object of class forecast
Author(s)
Peter Ellis
See Also
Examples
mod1 <- thetam(Nile)
fc1 <- forecast(mod1)
plot(fc1)
[Package forecastHybrid version 5.0.19 Index]