Description Usage Arguments Value Author(s)
A multivariate generalization of the Beta distribution.
1 2 3 | ddirichlet(x, alpha, log = FALSE)
rdirichlet(n, alpha)
|
x |
vector of quantiles. |
alpha |
Vector of |
log |
logical; if TRUE, probabilities p are given as log(p). |
n |
number of observations. If |
For ddirichlet
, the kernel density. For rdirichlet
, a
matrix of draws with n
rows and length(alpha)
columns.
Alexey Shiklomanov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.