gammaln {logOfGamma}R Documentation

Computes the natural logarithm of the gamma function.

Description

For values larger than 12, an approximation is used.

Usage

gammaln(x)

Arguments

x

A numeric vector of positive numbers.

Examples

gammaln(5)
gammaln(50)

[Package logOfGamma version 0.0.1 Index]