cb_gray: Color palettes for plots

Description Usage Format Examples

Description

Color palettes and plot colors I like. Color blind-friendly palettes taken from the Cookbook for R (http://www.cookbook-r.com/Graphs/Colors_(ggplot2)/#palettes-color-brewer). The Matplotlib default color palette was taken from the documentation (https://matplotlib.org/users/dflt_style_changes.html#colors-in-default-property-cycle).

Usage

1

Format

An object of class character of length 1.

Examples

1
ggplot(mtcars, aes(wt, mpg)) + geom_point(aes(color = as.factor(cyl))) + scale_color_manual(values = cbPalette)

zmorrissey/commonR documentation built on Sept. 15, 2021, 2:12 p.m.