Description Usage Arguments Value
This function converts the input vector v into another vector of probabilities that sum to one based on the stick-breaking equation
1 |
v |
vector of probabilities (these do not have to sum to 1) |
this function returns a vector res with probabilities that sum to one
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.