Description Usage Arguments Examples
View source: R/ggplot2_scale_functions.R
Colour and fill scales for ggplot2
1 | scale_colour_inrainbows(album, ...)
|
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. |
1 2 3 4 5 6 7 | ggplot(morley, aes(Expt, Speed, col = factor(Expt))) +
geom_boxplot() +
scale_colour_inrainbows("kid_a")
ggplot(mtcars, aes(cyl, hp, col = factor(cyl))) +
geom_boxplot() +
scale_colour_inrainbows("ok_computer")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.