View source: R/imperial_colour_scheme_functions.R
scale_color_imperial | R Documentation |
Color scale constructor for imperial colors
scale_color_imperial( palette = "default", discrete = TRUE, reverse = FALSE, ... )
palette |
Character name of palette in imperial_palettes. Choose from:
|
discrete |
Boolean indicating whether color aesthetic is discrete or not |
reverse |
Boolean indicating whether the palette should be reversed |
... |
Additional arguments passed to ggplot2::discrete_scale() or ggplot2::scale_color_gradientn(), used respectively when discrete is TRUE or FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.