Color function for use with ggplot2.

scale_color_te(palette = "discrete", discrete = TRUE, reverse = FALSE,
  ...)

Arguments

palette

character. Name of palette in te_palettes list.

discrete

logical. Indicates whether the color palette is discrete or not.

reverse

logical. Indicates whether the palette should be reversed.

...

dots. Additional arameters passed to ggplot2::discrete_scale() if discrete = TRUE or ggplot2::scale_fill_gradientn() if discrete = FALSE.

Source

https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2. https://github.com/hrbrmstr/hrbrthemes/blob/master/R/scales.r

Details

None.