scale_color_pdw: Color scale constructor for pdw colors

Description Usage Arguments

View source: R/scale_color_pdw.R

Description

This function creates the colors from the palette

Usage

1
scale_color_pdw(palette = "main", discrete = TRUE, reverse = FALSE, ...)

Arguments

palette

Character name of palette in pdw_palettes

discrete

Boolean indicating whether color aesthetic is discrete or not

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments passed to discrete_scale() or scale_color_gradientn(), used respectively when discrete is TRUE or FALSE


phildwalker/pdwtheme documentation built on Feb. 4, 2021, 2:31 p.m.