randomSeed | R Documentation |
Sets and resets the .Random.seed in the global environment.
randomSeed(action=c("set", "advance", "reset", "get"), seed=NULL, kind=NULL, n=1L,
backup=TRUE)
action |
A |
seed |
Random seed to be set; only for |
kind |
(optional) A |
n |
Number of random seeds to generate by |
backup |
If |
Returns a .Random.seed
.
If more than one is returned, the they are returned as a list
.
Henrik Bengtsson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.