sim
generates a random time series from an object of class um
or tfm
.
# S3 method for tfm
sim(mdl, n = 100, y0 = NULL, seed = NULL, ...)sim(mdl, ...)
# S3 method for um
sim(mdl, n = 100, z0 = NULL, seed = NULL, ...)
an object of class um
or tfm
.
number of observations.
initial conditions for the nonstationary series.
an integer.
additional arguments.
initial conditions for the nonstationary series.
An object of class ts
.