simulate
generates random deviates from a fitted model.
# S4 method for hansentree
simulate(object, nsim = 1, seed = NULL, ...)# S4 method for browntree
simulate(object, nsim = 1, seed = NULL, ...)
simulate
returns a list of data-frames, each comparable to the original data.
fitted model object
integer; number of independent simulations.
integer; if non-NULL
, the RNG will be initialized with this seed for the simulations.
The RNG will be reset to its pre-existing state when simulate
returns.
additional arguments, ignored.