Description Usage Arguments Value
View source: R/distribs.R View source: R/dppcore/R/distribs.R
Random generator for the Dirichlet distribution.
1 | rdirichlet(n, alpha)
|
n |
number of vectors to generate |
alpha |
vector of parameters of the Dirichlet distribution |
a matrix
in which each row vector is Dirichlet distributed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.