mmode | R Documentation |
Calculate the mode of numeric, character, or factor data
mmode(x, na.rm = FALSE)
x |
Numeric, character, or factor vector. |
na.rm |
Logical. If |
Numeric, character, or factor value.
mmode(round(10 * rnorm(1000, 2)))
mmode(c('a', 'b', 'b', 'b', 'c', 'd', 'd'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.