Description Usage Arguments Value Author(s) See Also Examples
Calculate the most frequent value (modus) of a vector.
Missing values (NA
) are ignored.
1 | modus(x)
|
x |
a vector containing the values whose modus is to be computed. |
A single value containing the most frequent value
(modus) of x
. For bi- or multimodal distributions
with equal peaks, the first one is returned (see examples).
Gerhard Nachtmann kpm.nachtmann@gmail.com
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.