powered by
Random generation from the Dirichlet distribution.
rdirichlet(n, a)
number of samples
vector or matrix of shape parameters
fit_dirichlet
rdirichlet(2, c(1,5,3,8))
Run the code above in your browser using DataLab