[R] R: simulation

Liaw, Andy andy_liaw at merck.com
Fri Mar 4 14:25:35 CET 2005


See ?set.seed.  

Andy

> From: Clark Allan
> 
> hi all
> 
> a simple question
> 
> i want to run simulations in r. i however want the experiments to be
> repeated at a later time with exactly the same numbers by other users.
> can i set the random number seed for rnorm in some way?
> 
> e.g. is there some arguement that goes with rnorm?
> 
> please supply an example
> 
> regards
> Allan
>




More information about the R-help mailing list