Learn R Programming

logOfGamma (version 0.0.1)

gammaln_internal: Computes the natural logarithm of the gamma function for values larger than 12.

Description

Uses the approximation in Hart et al, Computer Approximations 1968.

Usage

gammaln_internal(x)

Arguments

x

A numeric value of length 1 greater than 12

Examples

Run this code
gammaln_internal(50)

Run the code above in your browser using DataLab