scale_color_crim: A set of colorblind friendly colors for graphs.

View source: R/graph_theme.R

scale_color_crimR Documentation

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

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 Dec. 7, 2022, 5:15 p.m.