[R] Help

David Winsemius dwinsemius at comcast.net
Tue Nov 15 19:31:28 CET 2011


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



More information about the R-help mailing list