multichoose | R Documentation |
Multinomial coefficients give the number of ways to partition a set of N objects into K containers, where each contains n_k elements.
{N \choose n_1, n_2, …, n_K} = \frac{N!}{n_1!n_2! \cdots n_K!}
multichoose(x, log = TRUE)
x |
Vector representing the number of times each outcome was observed |
log |
If TRUE, return the natural logarithm |
The multinomial coefficient
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.