modus | R Documentation |
Generic function for mode of a sample.
modus(x, na.rm = FALSE)
x |
An R object. Currently there are methods for numeric objects. |
na.rm |
A logical value indicating whether NA values should be stripped before the computation proceeds. |
The mode of x
or a list of the modes of x
.
modus(c(1,1,1,2,2,3,NA), na.rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.