qcat | R Documentation |
Compute the quantile function for a categorical distribution.
qcat(pr, p, lower.tail = TRUE, log.pr = FALSE)
pr |
vector of probabilities. |
p |
vector of proabilities. |
lower.tail |
logical; if TRUE (default), probabilities are |
log.pr |
logical; if TRUE, probabilities |
This function computes quantiles for the categorical distribution with support 1, \dots , K
and probabilities p = (p_1, \dots , p_K)'
.
qcat
returns a vector of quantiles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.