powered by
dDirichlet(alpha = 0.1, x1, x2)
temp <- dDirichlet(x1=0.4, x2=0.2) # 3rd dimension is 1-x1-x2 = 0.2
Run the code above in your browser using DataLab