Re: S-plus multivariate normal distribution
Hi Nick,
In R, use mvrnorm (load package MASS first)
In S+, use rmvnorm
Leonid
--------------------------------------
Leonid Gibiansky
President
QuantPharm LLC
www.quantpharm.com
Nick Holford wrote:
> Hi,
>
> Can someone give me some clues on how to sample from a multivariate normal
> distribution using S-plus?
>
> Some working code examples would be very helpful.
>
> Thanks,
>
> Nick
>
> --
> Nick Holford, Dept Pharmacology & Clinical Pharmacology
> University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand
> [EMAIL PROTECTED] tel:+64(9)373-7599x86730 fax:+64(9)373-7090
> www.health.auckland.ac.nz/pharmacology/staff/nholford