scale_fill_te: Fill scale constructor for 'te_color'

Description Usage Arguments Details Source

View source: R/scale_te.R

Description

Color function for use with ggplot2.

Usage

1
scale_fill_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.

Details

None.

Source

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


tonyelhabr/teplot documentation built on May 26, 2019, 5:33 a.m.