logStirling {kpmt} | R Documentation |
Log Stirling
Description
Computes the log of the Stirling approximation of n!.
Usage
logStirling(n)
Arguments
n |
integer or vector of integers. |
Value
Stirling approximation of log(n!). If n <= 14, then computes log(n!) directly, i.e. no Stirling approximation.
[Package kpmt version 0.1.0 Index]