modeInteger | R Documentation |
This function computes the modal value, i.e. the value that appears most often, from an integer vector.
modeInteger(v)
v |
Integer. The input vector. |
The integer
modal value.
Tim Appelhans
set.seed(10)
x <- sample(1:10, 100, replace = TRUE)
modeInteger(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.