Sample with a Dirichlet-Multinomial distribution

sample_dm(data, n, par)

Arguments

data

A data frame with one row.

n

The desired sample size.

par

The cpar value to define overdispersion.

Value

A data frame with one row because right now the input data should only be a single row of data.