mode | R Documentation |
This function returns the most frequent (modal) value in a vector. If there are multiple values with the same highest frequency, it returns the first one encountered.
mode(x)
x |
A vector of numeric, character, or factor values. |
A single value representing the mode of the input vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.