scale_color_crim {crimeutils} | R Documentation |
A set of colorblind friendly colors for graphs.
scale_color_crim(...)
... |
Arguments passed to discrete_scale() |
The ggplot graph with colors set.
ggplot2::ggplot(mtcars, ggplot2::aes(x = mpg, y = hp, color = as.character(cyl))) +
ggplot2::geom_point(size = 2) +
scale_color_crim()