Lchoose: Binomial coefficient and its logarithm

View source: R/gamma.R

Binomial coefficient and its logarithmR Documentation

Binomial coefficient and its logarithm

Description

Binomial coefficient and its logarithm.

Usage

Lchoose(x, k)
Choose(x, k)

Arguments

x

A vector with integer values numbers.

k

A positive non zero at most equal to x.

Details

The binomial coefficient or its logarithm are evaluated.

Value

A vector with the answers.

Author(s)

Manos Papadakis

R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>

See Also

comb_n, Lbeta, Lgamma

Examples

x <- sample(20:30, 100, replace = TRUE)
res<-Choose(x, 4)
res<-Lchoose(x, 4)

x<-NULL

Rfast documentation built on Nov. 9, 2023, 5:06 p.m.