[R] specify seed for Random Number Generator

Dhiren DSouza dhiren22 at hotmail.com
Tue Aug 16 23:13:46 CEST 2005


I need to generate 100 I.I.D samples from an exponential distribution.  I 
use rexp(100,parameter).  Is there anyway to specify a seed to determine the 
first input for the uniform random number generator used to generate these 
exponentials?

-Dhiren




More information about the R-help mailing list