powered by
rdirichlet(n, alpha)
rdirichlet
n
Beta
ddirichlet
x <- rdirichlet(20, c(1,1,1) )
Run the code above in your browser using DataLab