Skip to contents

Maps categorical variables to the Annenberg Institute brand palette. Colors are ordered for maximum visual contrast.

Usage

scale_color_aib(...)

scale_colour_aib(...)

Arguments

...

Additional arguments passed to ggplot2::discrete_scale().

Value

A ggplot2 discrete color scale.

Examples

library(ggplot2)
ggplot(mtcars, aes(mpg, wt, color = factor(cyl))) +
  geom_point() +
  scale_color_aib()