Cbeta {UCS} | R Documentation |

## The Beta Function (sfunc)

### Description

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

### Usage

Cbeta(a, b, log=FALSE)

### Arguments

`a, b` |
numeric vectors |

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

### Details

This is just a front-end to the built-in `beta`

and
`lbeta`

functions, provided mainly for consistent naming.
Note that the logarithmic version is scaled to base 10 logarithms,
according to the UCS conventions.

### Value

The Beta function with arguments (`a`

, `b`

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

).

### See Also

`beta`

, `Ibeta`

, `Rbeta`

, `Cgamma`

,
`Igamma`

, `Rgamma`

### Examples

x <- 5
y <- 3
((x+y+1) * beta(x+1,y+1))^-1 # == choose(x+y, x)

[Package

*UCS* version 0.5

Index]