our_palettes_interpolator: Generates a function to interpolate our color palette.

Description Usage Arguments Value Source Examples

Description

Generates a function to interpolate our color palette.

Usage

1

Arguments

palette

Character name of palette in our_palettes_raw

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments to pass to colorRampPalette()

Value

Returns a function that takes argument n where n is the number of colours to interpolate.

Source

https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2

Examples

1
2
3
4
5
## Not run: 
 our_palettes_interpolator('default')
 our_palettes_interpolator('default')(10)
 
## End(Not run)

PeterGrahamJersey/mybizR-style documentation built on July 7, 2019, 2:19 p.m.