Draw from Dirichlet distribution
Function to draw from a Dirichlet distribution.
rdirichlet(delta)
delta
: A vector, the concentration parameter.A vector, the sample from the Dirichlet distribution of the same length as delta
.
rdirichlet(delta = 1:3)
Useful links