Description Usage Arguments Value Examples
Draw draw Categorical distribution
1 |
n |
number of draws |
p |
a length-d probability vector |
replace |
should the categories be replaced? If so n < p required |
a draw from Categorical(p)
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.