DPweight: weight by stick-breaking process

Description Usage Arguments Value

View source: R/DPbasics.R

Description

weight by stick-breaking process

Usage

1
DPweight(M = 1, K = 10)

Arguments

M

a numeric / precision parameter

K

a scalar / number of weights

Value

a numeric vector / weights of length K


morner75/BNP documentation built on May 29, 2020, 7:27 p.m.