Color scale constructor for REACH or AGORA colors
Fill scale constructor for REACH or AGORA colors
Usage
scale_color(
initiative = "reach",
palette = "main",
discrete = TRUE,
reverse = FALSE,
...
)
scale_color(
initiative = "reach",
palette = "main",
discrete = TRUE,
reverse = FALSE,
...
)Arguments
- initiative
Either "reach" or "agora
- palette
Character name of palette in drsimonj_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
