View source: R/data_prep_functions.R
calc_mode | R Documentation |
Funnily enough, R doesn't have a mode, so this is it. Be careful because ties just return whichever is the furthest to the beginning of the vector with no warning given
calc_mode(v)
v |
Vector of numerical values |
number- mode of the supplied vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.