modus | R Documentation |
Calculates the mode (modus) of a numeric vector (it excludes NA-s by default). https://en.wikipedia.org/wiki/Mode_(statistics)
modus(x)
x |
A numeric vector |
modus(c(1, 1, 2, 3, 3, 3, 4, 5))
modus(1:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.