Description Usage Arguments Value Source Examples
Generates a function to interpolate our color palette.
1 | our_palettes_interpolator(palette = "main", reverse = FALSE, ...)
|
palette |
Character name of palette in our_palettes_raw |
reverse |
Boolean indicating whether the palette should be reversed |
... |
Additional arguments to pass to colorRampPalette() |
Returns a function that takes argument n where n is the number of colours to interpolate.
https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2
1 2 3 4 5 | ## Not run:
our_palettes_interpolator('default')
our_palettes_interpolator('default')(10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.