| seed-methods {distrSim} | R Documentation |
seed-methods
signature(object = "Simulation"): returns the slot seed of an object of class "Simulation"signature(object = "Simulation"): changes the slot seed of an object of class "Simulation"signature(object = "Contsimulation"): returns the slot seed of an object of class "Contsimulation" signature(object = "Contsimulation"): changes the slot seed of an object of class "Contsimulation"
The value to which the seed is set has to be consistent with the setRNG-package;
to draw a ``new'' simulation, use something like seed(X)<-setRNG();simulate(X);
cf. manual to this package, p.~9