-
Notifications
You must be signed in to change notification settings - Fork 127
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_reorder()
needs na_last
argument
#266
Comments
davidhodge931
changed the title
New feature: update fct_reorder to support horizontal bar plots with NA bars on the bottom
Feature request: update fct_reorder to support horizontal bar plots with NA bars on the bottom
Jul 8, 2020
A workaround...
|
I think |
hadley
changed the title
Feature request: update fct_reorder to support horizontal bar plots with NA bars on the bottom
Jan 3, 2023
fct_reorder()
needs na_last
argument
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not currently possible to easily make a horizontal bar graph where bars are ordered by size and with NA bars on the bottom of the graph.
The graph looks good vertically with NAs on the far right, but as soon as you flip the plot, the NAs are at the top, which in general is not good, given that you almost never want to emphasise the NA values.
A solution to this might be to update forcats::fct_reorder to have an argument to support this (e.g. na_flip = TRUE).
The text was updated successfully, but these errors were encountered: