dDirichlet: dDirichlet

Description Usage Arguments Value Author(s) See Also Examples

View source: R/interfaces.R

Description

get density of a sample w.r.t Dirichlet distribution (3D only).

Usage

1
dDirichlet(alpha = 0.1, x1, x2)

Arguments

alpha

alpha parameter of the distribution (i.e. alpha repeated 3 times).

x1

1st dimension of the sample.

x2

2nd dimension of the sample.

Value

density value.

Author(s)

Pierrick Bruneau

See Also

rDirichlet

Examples

1
2
temp <- dDirichlet(x1=0.4, x2=0.2)
# 3rd dimension is 1-x1-x2 = 0.2

VBmix documentation built on May 30, 2017, 2:34 a.m.

Related to dDirichlet in VBmix...