Find the mode of vector x (note that, if multiple values have the same frequency, this function simply picks the first occurring one)
mode(x)
x
a vector
the mode