Binomial coefficient and its logarithm {Rfast} | R 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
Examples
x <- sample(20:30, 100, replace = TRUE)
res<-Choose(x, 4)
res<-Lchoose(x, 4)
x<-NULL
[Package Rfast version 2.1.0 Index]