A set of colorblind friendly colors for graphs.

scale_color_crim(...)

Arguments

...

Arguments passed to discrete_scale()

Value

The ggplot graph with colors set.

Examples

ggplot2::ggplot(mtcars, ggplot2::aes(x = mpg, y = hp, color = as.character(cyl))) +
  ggplot2::geom_point(size = 2) +
  scale_color_crim()