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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to