powered by
ddirichlet(x, alpha)
ddirichlet
x
Beta
rdirichlet
ddirichlet(c(.1,.2,.7), c(1,1,1))
Run the code above in your browser using DataLab