Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fct_lump should let you customize the "Other" string #257

Open
earino opened this issue Mar 3, 2020 · 0 comments
Open

fct_lump should let you customize the "Other" string #257

earino opened this issue Mar 3, 2020 · 0 comments
Labels
feature a feature request or enhancement

Comments

@earino
Copy link

earino commented Mar 3, 2020

Sometimes when I'm lumping together factors, it would be cool if the "Other" factor told me how many factors it had lumped in. For example "Other (27)" if there were 27 factors that made up the long tail.

It would be cool if we could pass this to other.level like:

fct_lump(buncha_factors, other.level="Other (%n)")

@hadley hadley added the feature a feature request or enhancement label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants