how to generate multiple random variables that are correlated
eric lee <ericlee100 <at> gmail.com> writes: [snip]
Is there an R function that generates random values for my two variables given the correlation? I'd like to do this for up to 5 variables and I'm running version 2.7.2 on a windows platform. Thanks.
?MASS::mvrnrom