seed-methods {distrSim} | R Documentation |
Methods for Function seed in Package ‘distrSim’
Description
seed-methods
Methods
- seed
signature(object = "Simulation")
: returns the slotseed
of an object of class"Simulation"
- seed<-
signature(object = "Simulation")
: changes the slotseed
of an object of class"Simulation"
- seed
signature(object = "Contsimulation")
: returns the slotseed
of an object of class"Contsimulation"
- seed<-
signature(object = "Contsimulation")
: changes the slotseed
of an object of class"Contsimulation"
Note
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
[Package distrSim version 2.8.2 Index]