scale_fill_inrainbows: Radiohead album colour scales for ggplot2

Description Usage Arguments Examples

View source: R/ggplot2_scale_functions.R

Description

Colour and fill scales for ggplot2

Usage

1

Arguments

album

Album name to use for colour scale. See Details.

...

Other arguments passed on to ggplot2::discrete_scale() to control name, limits, breaks, labels and so forth.

Examples

1
2
3
4
5
6
7
ggplot(morley, aes(Expt, Speed, fill = factor(Expt))) +
  geom_boxplot() +
  scale_fill_inrainbows("kid_a")

ggplot(mtcars, aes(cyl, hp, fill = factor(cyl))) +
  geom_boxplot() +
  scale_fill_inrainbows("ok_computer")

dickie-roper/inRainbows documentation built on Jan. 17, 2020, 4:25 p.m.