Skip to contents

Overrides the default discrete gradient to use color brewer Set 3

Usage

scale_fill_discrete(
  values = RColorBrewer::brewer.pal(n = 11, name = "Set3"),
  ...
)

Arguments

values

a set of ggplot2::aesthetic values to map data values to. If this is a named vector, then the values will be matched based on the names. If unnamed, values will be matched in order (usually alphabetical) with the limits of the scale. Any data values that don't match will be given na.value.

...

Other arguments passed on to [ggplot2::scale_fill_manual()]