R/most-common.R
most_common.Rd
From a character vector, which values are most common?
most_common(x, n = 6)
A vector.
Number of values to return.
Sorted vector of n most common values.
n
most_common(iris$Species, n = 1) #> [1] "setosa"