simulateChineseRestaurant: Simulate a discrete distribution as in the chinese restaurant...

Description Usage Arguments Value Examples

View source: R/miscFunctions.R

Description

Simulate a discrete distribution as in the chinese restaurant problem

Usage

1
simulateChineseRestaurant(num_elements, chi)

Arguments

num_elements

the number of elements to be grouped

chi

the concentration parameter

Value

The sum of x and y

Examples

1
2

DPP documentation built on May 6, 2019, 1:10 a.m.