R/sample_dm.R
sample_dm.Rd
Sample with a Dirichlet-Multinomial distribution
sample_dm(data, n, par)
A data frame with one row.
The desired sample size.
The cpar value to define overdispersion.
A data frame with one row because right now the input data should only be a single row of data.