Description Usage Arguments Value Examples
Generate random samples of Dirichelet Multinomial observations
1 |
n |
number of observations |
m |
observation sizes vector possibly of length one. |
phi |
overdispersion paramater. Value must be in [0,1], where phi=0 is 'pure' Multinomial distribuion and increasing values of phi lead to increasingly over-dispersed distributions. |
p |
matrix or vector of proportions |
scale |
Scale parameters, vector of matrix. |
A matrix of n-rows, each row representing a random draw from
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.