Binomial coefficient and its logarithm | R Documentation |
Binomial coefficient and its logarithm.
Lchoose(x, k)
Choose(x, k)
x |
A vector with integer values numbers. |
k |
A positive non zero at most equal to x. |
The binomial coefficient or its logarithm are evaluated.
A vector with the answers.
Manos Papadakis
R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>
comb_n, Lbeta, Lgamma
x <- sample(20:30, 100, replace = TRUE)
res<-Choose(x, 4)
res<-Lchoose(x, 4)
x<-NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.