Calculate the most frequent value (modus) of a vector.
Missing values (
NA) are ignored.
a vector containing the values whose modus is to be computed.
A single value containing the most frequent value
x. For bi- or multimodal distributions
with equal peaks, the first one is returned (see examples).
Gerhard Nachtmann [email protected]
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.