statmode | R Documentation |
Get statistical mode, the most frequent value.
statmode(x, all = FALSE, ...)
x |
an object, usually a vector or matrix. |
all |
whether to return all modes (default returns only first). |
... |
passed to |
The most frequent value in x
, possibly a vector if all = TRUE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.