The Dirichlet Distribution
Density function and random number generation for the dirichlet
distribution with shape parameter vector alpha
.
ddirichlet(x, alpha, log = FALSE) rdirichlet(n, alpha)
x |
Matrix of quantiles. Each row corresponds to one probability vector. |
alpha |
Matrix of positive shape parameters. Each row corresponds to one probability vector. |
log |
Logical; If |
n |
Number of samples to draw from the distribution. |
See vignette("brms_families")
for details on the
parameterization.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.