scale_fill_dataedu: Fill scale constructor for dataedu colors

View source: R/palette_dataedu.R

scale_fill_dataeduR Documentation

Fill scale constructor for dataedu colors

Description

Fill scale constructor for dataedu colors

Usage

scale_fill_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_fill_gradientn(), used respectively when discrete is TRUE or FALSE


data-edu/dataedu documentation built on Feb. 17, 2025, 9:04 p.m.