<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>I am trying to use the function "pmnorm" from R package "mnormt" in a .cpp file.
</p>
<p>I was wondering if anyone could help me with the following code so that I can use "pmnorm" somewhere in my sample function "epsilonij".<br>
</p>
<p><br>
</p>
<p>#include <RcppArmadillo.h><br>
// [[Rcpp::depends(RcppArmadillo)]]<br>
using namespace arma;<br>
<br>
// [[Rcpp::export]]</p>
<p>double epsilonij (double nu_i_lj, Rcpp::NumericVector w, ){<br>
  ....<br>
}</p>
<p><br>
</p>
<p>Thanks.</p>
<p><br>
</p>
<p>Li<br>
</p>
</div>
</body>
</html>