R/utils.R
rdirichlet.Rd
Generate dirichlet random deviates
rdirichlet(n, alpha)
Number of random vectors to generate.
Vector containing shape parameters.
a vector containing the Dirichlet density
dirichletExample <- rdirichlet(1, c(1, 2, 3))