top_item: return top n items with highest frequency

top_itemR Documentation

return top n items with highest frequency

Description

return top n items with highest frequency

Usage

top_item(x, n = 1)

Arguments

x

character

n

top n

Value

character

Examples


top_item(c("a", "b", "c", "b"))


baizer documentation built on Oct. 19, 2023, 9:07 a.m.