get_commonslib_palette: Return a function which interpolates a commonslib color...

View source: R/scales.R

get_commonslib_paletteR Documentation

Return a function which interpolates a commonslib color palette

Description

Return a function which interpolates a commonslib color palette

Usage

get_commonslib_palette(palette = "main", reverse = FALSE, ...)

Arguments

palette

Name of palette in commonslib_palettes.

reverse

Boolean to indicate whether the palette should be reversed.

...

Additional arguments to pass to colorRampPalette.


houseofcommonslibrary/clcharts documentation built on June 10, 2025, 9:16 p.m.