View source: R/rock_palettes.R
rock_palette | R Documentation |
R package that contains color palettes based on colours on classic rock album covers.
rock_palette(name, n, type = c("discrete", "continuous"))
name |
Name of palette. Select one:
|
n |
Number of colors desired. Some palettes contain 5 colors. Those beginning with 'rock' have 4 |
type |
Either continuous or discrete. |
See also: https://github.com/johnmackintosh/metallicaRt for metallica palettes
A vector of colors.
rock_palette("swift")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.