powered by
return top n items with highest frequency
top_item(x, n = 1)
character
top n
top_item(c("a", "b", "c", "b"))
Run the code above in your browser using DataLab