Message-ID: <40254E95-6C00-4D97-BB11-E856F5CB57FF@comcast.net>
Date: 2011-11-15T18:31:28Z
From: David Winsemius
Subject: Help
In-Reply-To: <CAK=huh7U9p=d76+tCizSt93R9auAQNfeffGWL1K8PBjvCqwB0g@mail.gmail.com>
On Nov 15, 2011, at 11:21 AM, Gyanendra Pokharel wrote:
> Hi all,
> I have the mean vector mu<- c(0,0) and variance sigma <- c(10,10),
> now how
> to sample from the bivariate normal density in R?
> Can some one suggest me?
> I did not fine the function "mvdnorm" in R.
But when you typed ?mvdnorm R should have returned message to type ??
mvdnorm. I get a tone of on target "hits" when I do that.
(... and I think you may not get as many hits because I have a bunch
of package installed but there was a hit from MASS which I think is
installed by default ....)
--
David Winsemius, MD
West Hartford, CT