Description Usage Arguments Value
Random categorical generator
1 | rcat(probs)
|
probs |
n by K matrix of probabilities n subjects to be assigned to K categories |
return vector of length nrow(probs) of categorical indicators
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.