View source: R/stat_get_mode.R
stat_get_mode | R Documentation |
Get the mode of a numeric vector.
stat_get_mode(v)
v |
a numeric vector |
get the mode (the most frequent value)
v<- c(NA, 19, 4, 5, 7, 29, 19, 29, 13, 25, 19, 19) stat_get_mode(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.