Skip to contents

use cb friendly colors as color aesthetic with ggplot

Usage

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

Arguments

palette

name of the palette to be returned (main, cool, hot, grey, white_to_blue, or heatmap)

discrete

boolean, whether to make palette discretely divided into colors or continuous

reverse

boolean, reverse order of colors in palette

...

pass to ggplot