simulate

Share:

Description

This generic function simulates observations from a model.

Usage

1
simulate(object, nsim=1, seed=NULL, ...)

Arguments

object

An object of a suitable class for simulation.

nsim

Number of times to simulate the (whole) model.

seed

This can be used to set the seed of the random number generator

...

Some methods for this generic function may accept additional argumments

Value

Returns a new object of the same class as the object in the argument.

Author(s)

Maarten Speekenbrink