powered by
rdirichlet(n, alpha) ddirichlet(x, alpha)
rdirichlet(2, matrix(rep(1, 4), 2, 2))
Run the code above in your browser using DataLab