scale_color_bb: Color scale constructor for bb colors

View source: R/colorstuff.R

scale_color_bbR Documentation

Color scale constructor for bb colors

Description

Color scale constructor for bb colors

Usage

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

Arguments

palette

Character name of palette in bb_palettes

discrete

Boolean indicating whether color aesthetic is discrete or not

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments passed to discrete_scale() or scale_color_gradientn(), used respectively when discrete is TRUE or FALSE


biobits/bbhelper documentation built on Feb. 11, 2025, 4:53 p.m.