scale_fill_cpm: Fill scale constructor for cpm colors

Description Usage Arguments Author(s)

View source: R/scale_fill_cpm.R

Description

Set the fill palette for CPM.

Usage

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

Arguments

palette

Character name of palette in cpm 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_fill_gradientn(), used respectively when discrete is TRUE or FALSE

Author(s)

Rico Derks


ricoderks/ggCPM documentation built on Feb. 10, 2022, 10:01 a.m.