Displaying 1 result from an estimated 1 matches for "pnbeta2".
Did you mean:
pnbeta
2005 Nov 07
1
Modifying Internal C Files
..., but I'm
having problems getting the package to run correctly. In particular, I
want to modify a few things inside of pnbeta.c (namely errmax and
itrmax), which is what the pbeta() function calls upon when there is a
noncentral parameter. I copied the pnbeta.c C code, changed its name [to
pnbeta2.c], included the nmath.h, dpq.h files, lgamma.c, and pbeta.c in
my src folder (since the .h files were called upon and the .c files
were). I then created an R function that I thought would call upon the
new C code:
pnbeta2 <- function(x, a, b, lambda, low.tail, log.p)
{
res <- .C("pn...