View source: R/combinatorics.R
This function returns the multinomial coefficient of a natural number m
and a vector of natrual numbers k.
It is defined as
m!/(k[1]! * ... * k[n]!),
where n = length(k)
and m! stands for factorial(m)
.
1 | multinomial(m, k)
|
m |
a non negative, natural number |
k |
a vector of non negative, natural numbers |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.