Rbeta {UCS}R Documentation

The Regularized Beta Function (sfunc)

Description

Computes the regularized Beta function and its inverse. The Beta value can be scaled to a base 10 logarithm.

Usage

Rbeta(x, a, b, log=FALSE)

Rbeta.inv(y, a, b, log=FALSE)

Arguments

a, b non-negative numeric vectors, the parameters of the regularized Beta function
x a numeric vector with values in the range [0,1], the point at which the regularized Beta function is evaluated
y a numeric vector, the values of the regularized Beta function (or their base 10 logarithms if log=TRUE)
log if TRUE, the Beta values are base 10 logarithms (default: FALSE)

Details

The regularized Beta function scales the incomplete Beta function to the interval [0,1], by dividing through B(a,b), i.e.

I(x;a,b) = B(x;a,b) / B(a,b)

Value

Rbeta returns the regularized Beta function with parameters (a,b) evaluated at point x.

Rbeta.inv returns the point x at which the regularized Beta function with parameters (a,b) evaluates to y.

See Also

Cgamma, Igamma, Rgamma, Cbeta, Ibeta


[Package UCS version 0.5 Index]