View source: R/simulate.GNARfit.R
simulate.GNARfit | R Documentation |
Simulates from a GNARfit object, either creating a new series or future observations of the original series based upon the fitted GNAR model.
## S3 method for class 'GNARfit'
simulate(object, nsim=object$frbic$time.in, seed=NULL,
future=TRUE, set.noise=NULL, allcoefs=FALSE, ...)
object |
the output of a GNARfit call |
nsim |
the time length of the simulations |
seed |
either |
future |
whether the simulations follow on from the original time series ( |
set.noise |
a value to set the standard deviation of the noise to, or if |
allcoefs |
if |
... |
additional arguments, unused here. |
S3 method for class "GNARfit".
A multivariate time series of dimension nsim
x nnodes.
#simulate 5 future observations from fiveVTS
simulate(GNARfit(), nsim=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.