genStickBreakPi: Stick-breaking function.

View source: R/density.R

genStickBreakPiR Documentation

Stick-breaking function.

Description

Stick-breaking function.

Usage

genStickBreakPi(K, alpha)

Arguments

K

Max cluster.

alpha

Numeric. The alpha parameter to the DP.

Value

Vector of DP weights.

Author(s)

Stephen Martin


stephensrmmartin/MIRES documentation built on June 14, 2025, 4:27 p.m.