Learn R Programming

⚠️There's a newer version (2.0.5) of this package.Take me there.

randtoolbox (version 1.11)

toolbox for pseudo and quasi random number generation and RNG tests.

Description

The package provides (1) pseudo random generators - general linear congruential generators (Park Miller) and multiple recursive generators (Knuth TAOCP), generalized feedback shift register (SF-Mersenne Twister algorithm and WELL generators); (2) quasi random generators - the Torus algorithm, the Sobol sequence, the Halton sequence (thus include Van der Corput sequence) and (3) some additional tests such as the gap test, the serial test, the poker test... The package depends on rngWELL package but it can be provided without this dependency on demand to the maintainer. For true random number generation, use the 'random' package, for Latin Hypercube Sampling (a hybrid QMC method), use the 'lhs' package, a number of RNGs and tests for RNGs are provided by 'RDieHarder', all available on CRAN. There is also a small stand-alone package 'rngwell19937' for the WELL19937a RNG.

Copy Link

Version

Install

install.packages('randtoolbox')

Monthly Downloads

8,601

Version

1.11

License

BSD

Maintainer

Christophe Dutang

Last Published

January 15th, 2012

Functions in randtoolbox (1.11)

auxiliary

Auxiliary functions for 'randtoolbox' package.
coll.test

the Collision test
randtoolbox-package

General remarks on toolbox for pseudo and quasi random number generation
order.test

the Order test
gap.test

the Gap test
pseudoRNG

Toolbox for pseudo and quasi random number generation
coll.test.sparse

the Collision test
getWELLState

Get the state of a WELL generator implemented in randtoolbox package.
rngWELLScriptR

An implementation of the recurrence of WELL generators in R language
quasiRNG

Toolbox for quasi random number generation
runifInterface

Functions for using runif() and rnorm() with randtoolbox generators
poker.test

the Poker test
serial.test

the Serial test
get.primes

Get primes for quasi random number generation
freq.test

the Frequency test