powered by
Dirichlet distribution: random generator
rdirichlet(n = 1, alpha)
A matrix with n rows and length(alpha) columns
n
length(alpha)
Number of draws
Dirichlet parameter: a vector of positive number