Description Usage Arguments Value Examples
Draw from Dirichlet distribution
1 | rdirichlet(n, gam)
|
n |
number of variates to draw |
gam |
a vector of concentration parameters of length |
matrix dimension n*k
of samples
1 | rdirichlet(1, rep(2,5)) ## a length-5 probability vector
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.