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()

jacobkap/crime documentation built on Jan. 10, 2023, 8:19 a.m.