ddirmult | R Documentation |
PMF of Dirichlet-multinomial distribution
ddirmult(x, alpha, lg = FALSE)
x |
The vector of counts. |
alpha |
The vector of concentration parameters. |
lg |
A logical. Should we log the density ( |
David Gerard
ddirmult(c(1, 2, 3), c(1, 1, 1))
ddirmult(c(2, 2, 2), c(1, 1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.