Thanks. This solves the problem!
Sent from my iPhone
On Jul 5, 2013, at 9:47 AM, Simon Zehnder wrote:
> Hi Xiao,
>
> I assume, that you have to use the function with its namespace R::qchisq().
> The 'using namespace Rcpp;' command does not include the namespace R in which
> the function qch
Hi Xiao,
I assume, that you have to use the function with its namespace R::qchisq(). The
'using namespace Rcpp;' command does not include the namespace R in which the
function qchisq is defined.
Best
Simon
On Jul 5, 2013, at 6:22 PM, Xiao He wrote:
> Hi,
>
> I tried to call qchisq() (see
Hi,
I tried to call qchisq() (see mock code below). But while compiling it, I
got an error message saying ` error: no matching function for call to
‘qchisq(double, double, int, int)’`. I checked this file:
http://dirk.eddelbuettel.com/code/rcpp/html/Rmath_8h_source.html, and saw
this: " double
qc