The key is set.seed( <seed value> );
Then you can use runif(n=<number of values>, <min>, <max>)
to get random reals, or sample(x, size, replace = FALSE, prob = NULL)
to get a random sample from a collection.
A repository of notes; by noto, for noto. Made public so noto can read it from anywhere. It won't make any sense to you.
The key is set.seed( <seed value> );
Then you can use runif(n=<number of values>, <min>, <max>)
to get random reals, or sample(x, size, replace = FALSE, prob = NULL)
to get a random sample from a collection.