[R] specify seed for Random Number Generator

From: Dhiren DSouza <dhiren22_at_hotmail.com>
Date: Wed 17 Aug 2005 - 07:13:46 EST

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?


R-help@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 Received on Wed Aug 17 07:21:29 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:50 EST