genStickBreakPi: Stick-breaking function.

Description Usage Arguments Value Author(s)

View source: R/density.R

Description

Stick-breaking function.

Usage

1
genStickBreakPi(K, alpha)

Arguments

K

Max cluster.

alpha

Numeric. The alpha parameter to the DP.

Value

Vector of DP weights.

Author(s)

Stephen Martin


MIRES documentation built on Feb. 22, 2021, 5:10 p.m.