[R] source code for dbeta
Varun Sinha
sinha.varuna85 at gmail.com
Sun Jun 7 11:31:41 CEST 2015
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]]
More information about the R-help
mailing list