Description Usage Arguments Details Value Author(s) Examples
Finds the modal value of a vector of any class.
1 |
x |
a vector (lists and arrays will be flattened). |
na.rm |
logical: strip |
Based on the Stack Overflow answer http://stackoverflow.com/a/8189441/143383
The value of x
that occurs most often. If there is a tie,
the one that appears first (among those tied) is chosen.
Ken Williams (on Stack Overflow)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.