scale_color_rpg | R Documentation |
This function is inserted into a ggplot call to replace a scale_color command.
scale_color_rpg(palette = "logo", discrete = TRUE, reverse = FALSE, ...)
palette |
A string representing a color palette, see https://bfroebrpg.github.io/rpgcolorsr_pages/ for a full list of palettes |
discrete |
Changes between discrete or continuous scales |
reverse |
When true the default order of the color palette is reversed |
By default the palette will be discrete.
a function to create a color palette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.