scale_color_sb: Shortcut for SB ggplot2 color and fill scales

View source: R/ggplot-scales.R

scale_color_sbR Documentation

Shortcut for SB ggplot2 color and fill scales

Description

Uses 'scale_color_collection()' and 'scale_fill_collection()' with '"sb"' as the collection.

Usage

scale_color_sb(palette, discrete = TRUE, ...)

scale_fill_sb(palette, discrete = TRUE, ...)

Arguments

palette

Name of palette in that collection

discrete

Logical: use discrete scale?

...

Other arguments passed to 'scale_*_manual' or 'scale_*_gradientn'


emilelatour/laviz documentation built on June 13, 2025, 9:41 a.m.