lfastchoose: R versions of Simple Formulas for Logarithmic Binomial Coefficients
Description
Provide R versions of simple formulas for computing the logarithm of
(the absolute value of) binomial coefficients, i.e., simpler, more direct
formulas than what (the C level) code of R's lchoose()
computes.
Usage
lfastchoose(n, k)
f05lchoose(n, k)
Value
a numeric vector with the same attributes as n + k.