Description Usage Arguments Value Examples
View source: R/miscFunctions.R
Simulate a discrete distribution as in the chinese restaurant problem
1 | simulateChineseRestaurant(num_elements, chi)
|
num_elements |
the number of elements to be grouped |
chi |
the concentration parameter |
The sum of x
and y
1 2 | simulateChineseRestaurant(100, 0.2)
simulateChineseRestaurant(100, 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.