abmi_pal: Return function to interpolate an ABMI color palette

Description Usage Arguments Examples

View source: R/colours.R

Description

Return function to interpolate an ABMI color palette

Usage

1
abmi_pal(palette = "main", reverse = FALSE, ...)

Arguments

palette

Character name of palette in abmi_palettes

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments to pass to colorRampPalette() (e.g. alpha value)

Examples

1
2
3
abmi_pal(palette = "main", reverse = FALSE)

#' @return A list of hex colours

mabecker89/abmi.themes documentation built on Aug. 9, 2020, 10:57 p.m.