returns the mode of a vector with what percent of the data is the mode

mode_pct(x)

Arguments

x

a vector

Value

a unit character vector

Examples

c("b", "b", letters) %>% mode_pct()
#> [1] "b (11%)"