Simulate
produces a numeric vector of length n
with data simulated according to
the sim_function
defined in the tsModel-class. To use this function the par
slot
has to be set, either by calling Estimate or directly via setParameter.
# S4 method for tsModel
Simulate(object, n)
the simulation will be based on this tsModel-class
length of the simulated data, will be rounded down if it is not a whole number
Returns a numeric vector of length n
, that contains data, simulated according to the slot
sim_function
and par
in the tsModel-class object.