Description Usage Arguments Details References See Also Examples
Probability mass function and random generation for the multinomial distribution.
1 2 3 |
x |
k-column matrix of quantiles. |
size |
numeric vector; number of trials (zero or more). |
prob |
k-column numeric matrix; probability of success on each trial. |
log |
logical; if TRUE, probabilities p are given as log(p). |
n |
number of observations. If |
Probability mass function
f(x) = n!/prod(x[i]!) * prod(p[i]^x[i])
Gentle, J.E. (2006). Random number generation and Monte Carlo methods. Springer.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.