Hi,

I am trying to find the source code for dbeta function.

I tried edit(dbeta) and this is what I got:
> edit(dbeta)
function (x, shape1, shape2, ncp = 0, log = FALSE)
{
    if (missing(ncp))
        .Call(C_dbeta, x, shape1, shape2, log)
    else .Call(C_dnbeta, x, shape1, shape2, ncp, log)
}
<environment: namespace:stats>

It looks like it is calling calling C_dbeta, but I'm not sure. If it does,
how do I find it's source code?

Thank you!
Varun

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to