Learn R Programming

rngwell19937 (version 0.6-0)

rngwell19937-package: Random number generator of Mersenne-Twister type with resolution 53 bits

Description

After loading the package, the default random number generator in R is replaced by the long period linear generator WELL19937a by F. Panneton, P. L'Ecuyer and M. Matsumoto with a transformation to produce numbers in (0,1) with 53 (the default) or 32 random bits. In particular, the functions set.seed(), runif() and the object .Random.seed refer to WELL19937a.

A call of detach("package:rngwell19937", unload=TRUE) restores the default random number generator in R.

Arguments

References

F. Panneton, P. L'Ecuyer, and M. Matsumoto, ``Improved Long-Period Generators Based on Linear Recurrences Modulo 2'', ACM Transactions on Mathematical Software, 32, 1 (2006), 1-16.

See Also

set.resolution, set.initialization, set.vector.seed, well19937.validate