powered by
This function calculates the mode of a numeric vector.
getmode(data)
The mode of the numeric vector.
A numeric vector.
getmode(c(1, 2, 2, 3, 4))
Run the code above in your browser using DataLab