[R] dmvnorm masked by emdbook
tobias.verbeke at gmail.com
Sat Mar 13 18:25:22 CET 2010
For this to work, the copula package should
explicitly import dmvnorm from the mvtnorm
package by including
in their NAMESPACE file.
You can do the same thing and rebuild + reinstall
the package to solve your problem quickly, but
there might be some other imports of relevance
(I cc'ed the maintainer).
jyan at stat.uconn.edu
Daniel Murphy wrote:
> I am using curve3d in the emdbook package to graph a gaussian copula density
> function generated via the copula package. Unfortunately, it appears that
> emdbook masks dmvnorm from the package mvtnorm in a way that prohibits
> copula from generating the gaussian copula. (Sounds very confusing!) For
>> f<-function(x,y) dcopula(normalCopula(0),c(x,y))
> Error in dmvnorm(x, sigma = sigma) : unused argument(s) (sigma = sigma)
> Is there no way for me to use those two libraries together?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help