sample_antoniak: Samples from the Antoniak distribution

Description Usage Arguments Details Note See Also

View source: R/RcppExports.R

Description

It's done by sampling N Bernoulli variables

Usage

1
sample_antoniak(N, alpha)

Arguments

N

Number of samples

alpha

strength parameter

Details

References:

http://www.jmlr.org/papers/volume10/newman09a/newman09a.pdf

Note

Created on: May 19, 2016

Created by: Clint P. George

See Also

Other utils: sample_dirichlet, sample_multinomial


clintpgeorge/ldamcmc documentation built on Feb. 22, 2020, 12:39 p.m.