scale_color_imperial: Color scale constructor for imperial colors

View source: R/imperial_colour_scheme_functions.R

scale_color_imperialR Documentation

Color scale constructor for imperial colors

Description

Color scale constructor for imperial colors

Usage

scale_color_imperial(
  palette = "default",
  discrete = TRUE,
  reverse = FALSE,
  ...
)

Arguments

palette

Character name of palette in imperial_palettes. Choose from:

  • default, core, cool, warm, extended,

  • pink, green, red, blue,

  • tbp, vbn, obib, bnt,

  • bgrey_grad, bgrn_grad

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


mathzero/OverReact documentation built on Dec. 2, 2022, 12:05 a.m.