simulateChineseRestaurant {DPP} | R Documentation |
Simulate a discrete distribution as in the chinese restaurant problem
Description
Simulate a discrete distribution as in the chinese restaurant problem
Usage
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
simulateChineseRestaurant(100, 0.2)
simulateChineseRestaurant(100, 0.8)
[Package DPP version 0.1.2 Index]