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
> n.holford_at_auckland.ac.nz tel:+64(9)373-7599x86730 fax:+64(9)373-7090
> www.health.auckland.ac.nz/pharmacology/staff/nholford
>
>
>
Received on Thu Sep 13 2007 - 08:10:20 EDT
This archive was generated by hypermail 2.2.0 : Tue Nov 06 2007 - 15:07:16 EST