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