[R] How to simulate correlated data

Lisa Wang lisawang at uhnres.utoronto.ca
Thu Dec 15 16:33:47 CET 2005

Hello there,

I would like to simulate X --Normal (20, 5)
                         Y-- Normal (40, 10)

and the correlation between X and Y is 0.6. How do I do it in R?

Thank you very much

Lisa Wang Msc.
Princess Margaret Hospital
Toronto, Ca

More information about the R-help mailing list