powered by
rdirichlet(n=1, alpha)
dirmult
rdirichlet(n=100, alpha=rep(1,10))
Run the code above in your browser using DataLab