forecast.thetam | R Documentation |
Returns forecasts and other information for univariate Theta "models"
## S3 method for class 'thetam'
forecast(
object,
h = ifelse(object$m > 1, 2 * object$m, 10),
level = c(80, 95),
fan = FALSE,
...
)
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 |
An object of class forecast
Peter Ellis
thetam
mod1 <- thetam(Nile)
fc1 <- forecast(mod1)
plot(fc1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.