crimeutils (version 0.1.0)

scale_color_crim: A set of colorblind friendly colors for graphs.

Description

A set of colorblind friendly colors for graphs.

Usage

scale_color_crim(...)

Arguments

...

Arguments passed to discrete_scale()

Value

The ggplot graph with colors set.

Examples

Run this code
# NOT RUN {
ggplot2::ggplot(mtcars, ggplot2::aes(x = mpg, y = hp, color = as.character(cyl))) +
  ggplot2::geom_point(size = 2) +
  scale_color_crim()
# }

Run the code above in your browser using DataLab