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
>

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to