Mode {prettyR} | R Documentation |
Finds the modal value of an object (usually a factor).
Mode(x,na.rm)
x |
An object, usually a factor. |
na.rm |
A dummy argument to make it compatible with calls to mean , etc. |
Mode
finds the modal value of the object. If there are multiple modal
values, it returns an appropriate message.
The modal value of the object as character.
This is not the same as mode
that determines the data mode of an object.
Jim Lemon