Color scale constructor for bakeoff colors
Usage
scale_color_bakeoff(
palette = "showstopper",
discrete = TRUE,
direction = 1,
...
)
scale_fill_bakeoff(
palette = "showstopper",
discrete = TRUE,
direction = 1,
...
)Arguments
- palette
Character name of palette in
bakeoff_palette_names.- discrete
Boolean indicating whether color aesthetic is discrete or not.
- direction
Either
1or-1. If-1, the palette will be reversed.- ...
Additional arguments passed to
ggplot2::discrete_scale()orggplot2::scale_color_gradientn(), used respectively when discrete isTRUEorFALSE.

