[R] R: simulation

Spencer Graves spencer.graves at pdf.com
Fri Mar 4 14:51:47 CET 2005


      The help page for "rnorm" says "See Also:  ... '.Random.seed' 
...", and the help page for ".Random.seed" says, " 'set.seed' is the 
recommended way to specify seeds."

      hope this helps. 
      spencer graves

Clark Allan wrote:

>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
>
>------------------------------------------------------------------------
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list