Description Usage Arguments Details Value Author(s) Source Examples
Compute the mode of a vector
1 | Mode(x, na.rm = F)
|
x |
Vector of which to compute the mode |
na.rm |
Whether to ignore NA's |
If there are several modes, the one occuring first in the data will be returned. No binning is attempted for numeric vectors.
Most frequent value occuring in the vector
Ken Williams
http://stackoverflow.com/a/8189441/3498910
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.