scale_color_crim: A set of colorblind friendly colors for graphs.

Description Usage Arguments Value Examples

View source: R/graph_theme.R

Description

A set of colorblind friendly colors for graphs.

Usage

1

Arguments

...

Arguments passed to discrete_scale()

Value

The ggplot graph with colors set.

Examples

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

crimeutils documentation built on Feb. 3, 2021, 5:07 p.m.