[R] Simulation

Ben Bolker bolker at ufl.edu
Fri May 15 14:36:37 CEST 2009



On Fri, 15 May 2009 19:17:37 +1000 Kon Knafelman <konk2001 at hotmail.com>
wrote:

KK> I hve the same problem as the initial one, except i need 1000
KK> samples of size 15, and my distribution is Exp(1). I've adjusted
KK> some of the loop formulas for my n=15, but im unsure how to proceed
KK> in the quickest way. 
KK> Can someone please help?


  Taking a guess:

matrix(rexp(15000,1),ncol=15)

?

-- 
View this message in context: http://www.nabble.com/Simulation-tp23556274p23558953.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list