You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fct_lump all with count above/below threshold #142
It would be great if fct_lump() had an additional mode that lumped factor levels not based on the final number of factor levels desired (n) or the proportion of the data that accrues to the level (prop) but based on the raw count for the level (call it count?).
I think this is a reasonable request, but my main concern is making fct_lump() too complicated. It might be time to start spinning out fct_lump_prop() etc.
Activity
AshesITR commentedon Nov 17, 2018
That's a good idea. Maybe naming the argument
min_countwith comparison >= makes the functionality clearer...hadley commentedon Jan 4, 2019
I think this is a reasonable request, but my main concern is making
fct_lump()too complicated. It might be time to start spinning outfct_lump_prop()etc.robinsones commentedon Jan 19, 2019
👋 I'll try it
Add fct_lump_min() function (#166)