Calculate random proportions from a dirchlet process based on stick breaking procedure
rStickBreak(n, alpha = 1)
number of numbers to generate
smaller alpha means on average more weight concentrated earlier
a vector of n numbers adding to 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.