powered by
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)
A single value representing the mode of the input vector.
A vector of numeric, character, or factor values.