rdirichlet | R Documentation |
Generate dirichlet random deviates
rdirichlet(n, alpha)
n |
Number of random vectors to generate. |
alpha |
Vector containing shape parameters. |
a vector containing the Dirichlet density
dirichletExample <- rdirichlet(1, c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.