Cgamma {UCS} | R Documentation |
Computes the (complete) Gamma function and its base 10 logarithm.
Cgamma(a, log=FALSE)
a |
a numeric vector |
log |
if TRUE , returns the base 10 logarithm of the Gamma
function (default: FALSE ) |
This is just a front-end to the built-in gamma
and
lgamma
functions, provided mainly for consistent naming.
Note that the logarithmic version is scaled to base 10 logarithms,
according to the UCS conventions.
The Gamma function evaluated at a
, or its base 10 logarithm
(if log=TRUE
).
gamma
, Igamma
, Rgamma
, Cbeta
,
Ibeta
, Rbeta
Cgamma(5 + 1) # = factorial(5)