simulateChineseRestaurant {DPP} | R Documentation |
Simulate a discrete distribution as in the chinese restaurant problem
simulateChineseRestaurant(num_elements, chi)
num_elements |
the number of elements to be grouped |
chi |
the concentration parameter |
The sum of x
and y
simulateChineseRestaurant(100, 0.2)
simulateChineseRestaurant(100, 0.8)