| dirichlet | R Documentation |
Density of the Dirichlet distribution.
ddirichlet(x, alpha, log = TRUE)
x |
vector or matrix of quantiles |
alpha |
vector or matrix of shape parameters |
log |
logical; if |
This implementation of ddirichlet allows for automatic differentiation with RTMB.
ddirichlet gives the density.
ddirichlet(c(0.2, 0.3, 0.5), c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.