scale_color_commonslib: Color scale for commonslib colors

View source: R/scales.R

scale_color_commonslibR Documentation

Color scale for commonslib colors

Description

Color scale for commonslib colors

Usage

scale_color_commonslib(palette = "main", discrete = TRUE, reverse = FALSE, ...)

Arguments

palette

Name of palette in commonslib_palettes.

discrete

Boolean to indicate if color aesthetic is discrete.

reverse

Boolean to indicate whether palette should be reversed.

...

Additional arguments passed to discrete_scale or scale_color_gradientn, depending on the value of discrete.


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