Generate a random vector from the k-dimensional symmetric Dirichlet distribution with concentration parameter alpha
Examples
qvals <- rdirichlet(16, 1)
sum(qvals)
#> [1] 1
Generate a random vector from the k-dimensional symmetric Dirichlet distribution with concentration parameter alpha
qvals <- rdirichlet(16, 1)
sum(qvals)
#> [1] 1