Description Usage Arguments Value Examples

Calculate random proportions from a dirchlet process based on stick breaking procedure

1 | ```
rStickBreak(n, alpha = 1)
``` |

`n` |
number of numbers to generate |

`alpha` |
smaller alpha means on average more weight concentrated earlier |

a vector of n numbers adding to 1

1 2 | ```
rStickBreak(10)
rStickBreak(10,3)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.