logStirling {kpmt} | R Documentation |
Computes the log of the Stirling approximation of n!.
logStirling(n)
n |
integer or vector of integers. |
Stirling approximation of log(n!). If n <= 14, then computes log(n!) directly, i.e. no Stirling approximation.