We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now the state abbreviations will not print if a value is NA:
NA
library(statebins) library(dplyr) data(USArrests) USArrests$state <- rownames(USArrests) USArrests$Assault[1] <- NA statebins(USArrests, value_col="Assault", name = "Assault", round=TRUE) + theme_statebins(legend_position="right")
Which returns this error:
1: In .sb_invert(gb$data[[1]]$fill, dark_label, light_label) : NAs introduced by coercion
It would be nice to still have the abbreviation printed -- possibly with a user-specified color.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now the state abbreviations will not print if a value is
NA
:Which returns this error:
It would be nice to still have the abbreviation printed -- possibly with a user-specified color.
The text was updated successfully, but these errors were encountered: