Learn R Programming

randtoolbox: Toolbox for Pseudo and Quasi Random Number Generation and Random Generator Tests

randtoolbox Provides (1) pseudo random generators - general linear congruential generators, multiple recursive generators and generalized feedback shift register (SF-Mersenne Twister algorithm (doi:10.1007/978-3-540-74496-2_36) and WELL (doi:10.1145/1132973.1132974) generators); (2) quasi random generators - the Torus algorithm, the Sobol sequence, the Halton sequence (including the Van der Corput sequence) and (3) some generator tests - the gap test, the serial test, the poker test, see, e.g., Gentle (2003) doi:10.1007/b97336.

The package

The stable version of randtoolbox can be installed from CRAN using:

install.packages("randtoolbox")

Finally load the package in your current R session with the following R command:

library(randtoolbox)

Documentation

The overall documentation is available at

help(randtoolbox)

Copy Link

Version

Install

install.packages('randtoolbox')

Monthly Downloads

7,578

Version

2.0.5

License

BSD_3_clause + file LICENSE

Last Published

October 18th, 2024

Functions in randtoolbox (2.0.5)

pseudoRNG

Toolbox for pseudo and quasi random number generation
rngWELLScriptR

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

Some test functions for Sobol sequences
serial.test

the Serial test
freq.test

the Frequency test
get.primes

Get primes for quasi random number generation
coll.test

the Collision test
auxiliary

Auxiliary functions for 'randtoolbox' package.
getWELLState

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

Toolbox for quasi random number generation
coll.test.sparse

the Collision test
poker.test

the Poker test
randtoolbox-package

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

the Order test
gap.test

the Gap test
runifInterface

Functions for using runif() and rnorm() with randtoolbox generators