Cgamma {UCS} | R Documentation |

## The Gamma Function (sfunc)

### Description

Computes the (complete) Gamma function and its base 10 logarithm.

### Usage

Cgamma(a, log=FALSE)

### Arguments

`a` |
a numeric vector |

`log` |
if `TRUE` , returns the base 10 logarithm of the Gamma
function (default: `FALSE` ) |

### Details

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.

### Value

The Gamma function evaluated at `a`

, or its base 10 logarithm
(if `log=TRUE`

).

### See Also

`gamma`

, `Igamma`

, `Rgamma`

, `Cbeta`

,
`Ibeta`

, `Rbeta`

### Examples

Cgamma(5 + 1) # = factorial(5)

[Package

*UCS* version 0.5

Index]