powered by
This function calculates the mode (most frequent observation) of a vector.
Mode(x)
A vector
The mode of x as a numeric value.
Adopted from stackoverflow.com/questions/2547402: "is there a built in function for finding the mode" from user "Ken Williams".