| .counts_to_probs_cat | R Documentation |
Convert counts to probabilities (with safe division)
.counts_to_probs_cat(counts, margin = NULL)
counts |
Array of counts |
margin |
Which margins to condition on (sum over). NULL = no conditioning (joint). |
Array of probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.