Description Usage Arguments Value Examples
Generate random samples from a mixture of Dirchelet Multinomials
1 |
n |
number of observations |
m |
observation sizes vector possibly of length one. |
f |
mixture proportions |
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 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.