A set of colorblind friendly fill colors for graphs.
scale_fill_crim(...)
The ggplot graph with fills set.
Arguments passed to discrete_scale()
ggplot2::ggplot(mtcars, ggplot2::aes(x = cyl, fill = as.character(cyl))) + ggplot2::geom_bar() + scale_fill_crim()
Run the code above in your browser using DataLab