set_color_pal: Texas Policy Lab [ggplot2] theme

Description Usage Arguments

View source: R/scales.R

Description

Set custom color palettes in the 'tplthemes' library Color palettes found on http://colorbrewer2.org and are colorblind safe.

Usage

1
set_color_pal(palette = "categorical", reverse = FALSE, ...)

Arguments

palette

Character name of palette in tpl_palettes

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments to pass to colorRampPalette()


connorrothschild/tpltheme documentation built on Dec. 20, 2020, 7:18 a.m.