O'Reilly logo
  • Shuchi Mishra thinks this is interesting:

Instead, to find the statistical mode, simply look at the table output of the category with the greatest number of values.

From

Cover of Machine Learning with R - Second Edition

Note

To find mode, use table() instead of mode() function