View source: R/General_Functions.R
getMode | R Documentation |
Find the modal value in a vector
getMode(x)
x |
A vector of values. |
The modal value in x
.
x <- c(1,2,1,2,4,5,7,8,4,2,3,4,4,4)
getMode(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.