[R] generate two sets of random numbers that are correlated

Kathie kathryn.lord2000 at gmail.com
Thu Aug 11 14:23:33 CEST 2011


Dear R users

I'd like to generate two sets of random numbers with a fixed correlation
coefficient, say .4, using R.

Any suggestion will be greatly appreciated.

Regards,

Kathryn Lord 

--
View this message in context: http://r.789695.n4.nabble.com/generate-two-sets-of-random-numbers-that-are-correlated-tp3735695p3735695.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list