A Reference Class for SyncRNG
The seed for the random number generator
The current state of the RNG, should not be modified by the user
initialize(..., seed = 0)
Initialize the RNG using the C function R_syncrng_seed
Generate a single random float in the range [0, 1)
Generate a random integer below a given number
Generate a single random 32-bit integer
Randomly shuffle a provided array of values
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.