Description Usage Arguments Details Source
Returns a function to be used by other functions.
1 |
palette |
character. Name of palette in |
discrete |
logical. Indicates whether the color palette is discrete or not. |
reverse |
logical. Indicates whether the palette should be reversed. |
Calls scales::manual_pal()
if discrete = TRUE
or colorRampPalette()
if
discrete = FALSE
.
https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2. https://github.com/hrbrmstr/hrbrthemes/blob/master/R/scales.r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.