View source: R/predict.GNARfit.R
predict.GNARfit | R Documentation |
Predicts future observations from a GNARfit object, based on the fitted GNAR model.
## S3 method for class 'GNARfit'
predict(object, n.ahead=1, ...)
object |
the output of a GNARfit call |
n.ahead |
the time length of the predictions |
... |
further arguments passed to the simulate.GNARfit function, such as |
S3 method for class "GNARfit". This function calls simulate.GNARfit.
A multivariate time series of dimension n.ahead
x nnodes.
#simulate 5 future observations from fiveVTS
predict(GNARfit(), n.ahead=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.