Bogaso Christofer <bogaso.christofer <at> gmail.com> writes: > > Hi Ravi, your suggestion helped me as well a lot. If I look into > that function, I see this function is calling another function : > > .Call("doCubature", as.integer(fDim), body(f.check), > as.double(lowerLimit), as.double(upperLimit), > as.integer(maxEval), > as.double(absError), as.double(tol), new.env(), PACKAGE = > "cubature") > > How I can see the interior of this "doCubature?" >
Find the original code for the 'cubature' package at http://ab-initio.mit.edu/wiki/index.php/Cubature plus information why the 'adapt' package had to be abandoned and that 'cubature' is based on the same original algorithm of Genz and Malik, but using free and GPLed software. We should not bemoan the loss of the 'adapt' package, 'cubature' and 'R2cuba' are worthy successors for adaptive quadrature. Hans Werner ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.