Generates a two colour gradient (low-high)

scale_colour_su(
  palette = c("main", "oranges", "charcoals", "slates", "reds", "blues"),
  discrete = TRUE,
  reverse = FALSE,
  ...
)

scale_color_su(
  palette = c("main", "oranges", "charcoals", "slates", "reds", "blues"),
  discrete = TRUE,
  reverse = FALSE,
  ...
)

scale_fill_su(
  palette = c("main", "oranges", "charcoals", "slates", "reds", "blues"),
  discrete = TRUE,
  reverse = FALSE,
  ...
)

Arguments

palette

The name of palette to use

discrete

Optional: boolean to indicate that this scale is a discrete scale. Defaults to TRUE

reverse

Optional: boolean to reverse the direction of the scale. Defaults to FALSE

...

additional arguments passed to the ggplot functions

Value

a scale object to be used with a ggplot object