Description Usage Arguments Details
Set the colors and fill for ggplot objects to colors that fit the spartan palettes
1 2 3 | scale_color_spartan(palette = "main", discrete = TRUE, reverse = FALSE, ...)
scale_fill_spartan(palette = "main", discrete = TRUE, reverse = FALSE, ...)
|
palette |
Name of a PVCSD color palette (see Details) |
main
The default palette scales from blue to grey
blues
A monochromatic blue palette
mono
A single color palette
cat
A color palette for categorical variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.