View source: R/distribution_functions.R
majority | R Documentation |
Find the most common element of a vector
majority(x, na.rm = FALSE)
x |
A vector of numeric, logical, or character mode and it may be a factor as well. |
na.rm |
A logical value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.