Description Usage Arguments Value Examples
View source: R/calculate_mode.R
Find the mode in a list of values (i.e., the most common value).
1 |
v |
A list of values |
The mode (most common value)
1 2 3 | calculate_mode( c( 1, 1, 1, 10, 10000) )
calculate_mode( c( "A", "B", "B", "C") )
calculate_mode( c(LETTERS[1:3], LETTERS[3:5] ) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.