Modes.RdThis function returns the mode of a vector. If the vector contains a character or factor, the most common character/factor is returned. Numbers written as characters will be compatible with non-character numbers (i.e. doubles/numeric), but the function returns a character.
Modes(x)vector from which to retrieve the mode from.
same class as 'x'.
https://stackoverflow.com/questions/2547402/how-to-find-the-statistical-mode
tabulate()