Description Usage Arguments Value Examples
RNG for Dirichlet Distribution
1 | rdirichlet(n, alphas)
|
n |
number of observations. |
alphas |
vector of concentration parameters. |
a matrix where each row is one observation.
1 | Z <- rdirichlet(10, c(2, 4, 8))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.