[Rcpp-devel] dmvnorm() of mvtnorm using RcppArmadillo

Ralf Stubner ralf.stubner at gmail.com
Thu Dec 19 12:19:43 CET 2019


On Thu, Dec 19, 2019 at 8:01 AM Shaami <nzshaam at gmail.com> wrote:

>   Environment pkg = Environment::namespace_env("mvtnorm");
>   Function dmvnorm = pkg["mvtnorm"];
>

There is no mvtnorm function in the mvtnorm package. You probably want to
dmvnorm function instead.

BTW, the mvtnorm package provides a C API for the dmvnorm function, c.f.
https://stackoverflow.com/a/51294364/8416610

cheerio
ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20191219/88e007cb/attachment.html>


More information about the Rcpp-devel mailing list