samples from the Dirichlet distribution.
rDirichlet(K, alpha = 0.1)
order of the sample.
alpha parameter of the distribution (i.e. alpha repeated K times).
numeric vector, which values are in [0,1] and sum to 1.
temp <- rDirichlet(4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.