setSeed: Function setSeed()

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Function setSeed() to be used for initializaing torus.

Usage

1
setSeed(seed)

Arguments

seed

a single value, interpreted as a positive integer for the seed. e.g. append your day, your month and your year of birth.

Details

See the pdf vignette for details.

Value

setSeed sets the seed

Author(s)

Christophe Dutang and Petr Savicky

References

Monte Carlo and Quasi-Monte Carlo Methods, Springer, pp 56–69. (available online)

See Also

.Random.seed for what is done in R about random number generation.

Examples

1
2
# (6) How to set the seed?
# all example is duplicated to ensure setSeed works

quasiRNG documentation built on May 2, 2019, 4:30 p.m.

Related to setSeed in quasiRNG...