[R] random numbers

Achim Zeileis zeileis at ci.tuwien.ac.at
Tue May 27 00:03:12 CEST 2003


On Monday 26 May 2003 23:58, Jason Parcon wrote:

> Is it possible to assign a seed number when generating, say, normal
> random numbers in rnorm for reproducibility purposes?

Yes, with the command set.seed() to the help page of which you are 
being pointed by both
  help(rnorm)
and
  help.search("random seed")


>
> ---------------------------------
>
>
> 	[[alternate HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list