Finds the modal value of an object (usually a factor).
Mode(x,na.rm=FALSE)
An object, usually a factor.
A dummy argument to make it compatible with calls to mean, etc.
The modal value of the object as a character string.
Mode finds the modal value of the object. If there are multiple modal values, it returns an appropriate message. If Mode is called with a continuous variable, it will not in general return a sensible answer. It does not attempt to estimate the density of the values and return an approximate modal value.