Internal function that samples z's from a categorical distribution
1 | rmultinom1(prob, randu)
|
prob |
A numeric matrix. |
randu |
A numeric vector. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.