Utility functions for working with Random Number Generators
This package contains a set of functions for working with
Random Number Generators (RNGs). In particular, it defines a generic
S4 framework for getting/setting the current RNG, or RNG data
that are embedded into objects for reproducibility.
Notably, convenient default methods greatly facilitate the way current
RNG settings can be changed.
Help topics
-
checkRNG
Checking RNG Differences in Unit Tests
-
getRNG
(.getRNG, getRNG1, getRNG1,ANY-method, getRNG1-methods, .getRNG,ANY-method, .getRNG,list-method, .getRNG-methods, .getRNG,missing-method, .getRNG,numeric-method, hasRNG, nextRNG, setRNG, .setRNG, .setRNG,character-method, .setRNG-methods, .setRNG,numeric-method)
Getting/Setting RNGs
-
rng.equal
(rng1.equal)
Comparing RNG Settings
-
RNGseed
(RNGrecovery)
Directly Getting or Setting the RNG Seed
-
RNGseq
(RNGseq_seed)
Generate Sequence of Random Streams
-
RNGstr
(RNGdigest, RNGinfo, RNGtype, showRNG)
Formatting RNG Information
-
rngtools
(rngtools-package)
Utility functions for working with Random Number Generators