ggplot2
R/dra.R
scale_dra.Rd
Dave's Redistricting App classic scale for ggplot2
scale_fill_dra(...) scale_color_dra(...) scale_colour_dra(...)
Arguments passed on to ggplot2::discrete_scale()
ggplot2::discrete_scale()
ggplot scale function
library(ggplot2) data(oregon) ggplot(oregon, aes(group = county, fill=county)) + geom_district() + scale_fill_dra() + theme_map()