uocquantile | R Documentation |
uocquantile
is a function which computes quantiles of an
unordered, ordered or continuous variable x
.
uocquantile(x, prob)
x |
an ordered, unordered or continuous variable. |
prob |
quantile to compute. |
uocquantile
is a function which computes quantiles of
an unordered, ordered or continuous variable x
. If x
is unordered, the mode is returned. If x
is ordered, the level
for which the cumulative distribution is >= prob is returned. If
x
is continuous, quantile
is invoked and the
result returned.
A quantile computed from x
.
Tristen Hayfield tristen.hayfield@gmail.com, Jeffrey S. Racine racinej@mcmaster.ca
quantile
x <- rbinom(n = 100, size = 10, prob = 0.5)
uocquantile(x, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.