1

I would like to sample from a multivariate normal and inverse-wishart distribution. I know R has mvrnorm (MASS) and riwish (MCMCpack). Is it possible through RInside to use those functions?

Dirk Eddelbuettel
  • 360,940
  • 56
  • 644
  • 725
Sylver
  • 11
  • 1

1 Answers1

0

Yes, it is. You can always post on rcpp-devel for more help --- the list archives show how to access different R functions from C++ via Rcpp, and RInside lets you have this from C++.

Dirk Eddelbuettel
  • 360,940
  • 56
  • 644
  • 725