R/simulator.R
rdirichlet.Rd
Dirichlet distribution
rdirichlet(n, alpha)
total number of draws
vector controlling the concentration of simplex
Implementation of random sampling from a Dirichlet distribution