Color scale constructor for PWD colors

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

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

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

Arguments

palette

Character name of palette in pwd_palettes

reverse

logical, if TRUE the palette is reversed

discrete

logical, if TRUE (default) the color aesthetic is treated as discrete

...

Additional parameters to be passed to either ggplot2::discrete_scale or ggplot2::scale_color_gradientn, depending on whehter discrete is TRUE or FALSE