Rdocumentation
powered by
Learn R Programming
mixtools (version 1.0.4)
ddirichlet: Density Function for the Dirichlet Distribution
Description
Density function for the Dirichlet distribution.
Usage
ddirichlet(x, alpha)
Arguments
x
A k-dimensional vector of values that sum to 1 for which to calculate the density
alpha
A k-dimensional vector of the Dirichlet distribution parameters.
Details
This is usually not to be called by the user.