Skip to content
Back to formatted view

Raw Message

Message-ID: <loom.20090202T161937-19@post.gmane.org>
Date: 2009-02-02T16:19:57Z
From: Ben Bolker
Subject: 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