Description Usage Arguments Value Examples
Single draw from Dirichlet distribution
1 | rDirichlet(alpha, logscale = FALSE)
|
alpha |
real vector, shape parameter. |
logscale, |
should probability vector be returned on the log scale? |
real probability vector, single draw from the Dirichlet(alpha) distribution
1 | rDiriclet(rep(1,5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.