R/find_mode.R
find_mode.Rd
This function takes a vector and finds the mode (most frequent value)
find_mode(x)
A vector
The mode of the vector
find_mode(c(1,2,2,2,3,4,4)) #> [1] 2 # 2