Description Usage Arguments Value
Takes a probability distribution of events and returns which event happened based on those probabilities
1 |
distribution |
A vector p where pi denotes the relative probability of event i |
An index i (to denote that event i took place)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.