predict.fit | R Documentation |
Computes predictions for an object of class NAWRUfit, TFPfit
, or
KuttnerFit
estimated via MLE or Bayesian methods (objects of class fit
).
## S3 method for class 'fit'
predict(object, n.ahead = 10, exogenous = "mean", returnFit = TRUE, ...)
object |
An object of class |
n.ahead |
An integer specifying the prediction horizon. |
exogenous |
A character string specifying the computation of exogenous variables
included in the model (if applicable). Valid options are |
returnFit |
A logical. If |
... |
Ignored. |
The fitted object with an updated time series list tsl
. If
returnFit = FALSE
, only the updated time series list is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.