scale_color_dataedu: Color scale constructor for dataedu colors

Description Usage Arguments

View source: R/palette_dataedu.R

Description

Color scale constructor for dataedu colors

Usage

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

Arguments

palette

Character name of palette in dataedu_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


data-edu/dataedu documentation built on July 6, 2020, 7:50 p.m.