rstream-class
(Package: rstream) :
Class "rstream" -- Multiple streams of uniform random numbers
The virtual class "rstream" provides a unified interface to uniform random number generators. Objects of its subclasses act as a source of streams for random numbers that can be handled by a set of methods and which can be used as arguments of functions that require sources of randomness, e.g. discrete event models, Monte Carlo integration or other stochastic simulations.
● Data Source:
CranContrib
● Keywords: classes, datagen, distribution
● Alias: print,rstream-method, rstream-class, show,rstream-method
●
0 images
rstream.runif-class
(Package: rstream) :
Class "rstream.runif" -- Interface to R internal uniform random
This class implements the "rstream" interface for the R internal uniform RNGs. This class allows to access and handle these generators in exactly the same way as external generators. In particular, one can create copies of generators. There is no need to deal with RNGkind and set.seed when different RNGs should be used.
● Data Source:
CranContrib
● Keywords: classes, datagen, distribution
● Alias: initialize,rstream.runif-method, print,rstream.runif-method, rstream.runif-class
●
0 images
rstream.RNG
(Package: rstream) :
Get and set "rstream" object from/to R global generator
The function rstream.RNG(stream) is used to set a given "rstream" object stream as current global R uniform random number generators.