Mean() and median() are common R functions that perform as expected. mode() returns the object's internal storage mode, not the value that appears the most in its argument. Is there, however, a standard library method for implementing statistical mode for a vector (or list)?