Random generation from the Dirichlet distribution.
rdirichlet(n, a)
n
number of samples
a
vector or matrix of shape parameters
fit_dirichlet
rdirichlet(2, c(1,5,3,8))