Learn R Programming

mixtools (version 2.0.0)

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.