R/mode.R
mode_pct.Rd
returns the mode of a vector with what percent of the data is the mode
mode_pct(x)
a vector
a unit character vector
c("b", "b", letters) %>% mode_pct() #> [1] "b (11%)"