scale_colour_paletteer_d: Discrete scales to use for ggplot2
Description
These functions provide the option to use the discrete and dynamic palettes
along with the ggplot2 package. It goes without saying that it requires
ggplot2 to work.
Usage
scale_colour_paletteer_d(palette, direction = 1, dynamic = FALSE, ...)
scale_color_paletteer_d(palette, direction = 1, dynamic = FALSE, ...)
scale_fill_paletteer_d(palette, direction = 1, dynamic = FALSE, ...)
Arguments
palette
Name of palette as a string. Must be on the form
packagename::palettename.
direction
Either 1 or -1. If -1 the palette will be reversed.
dynamic
toggles between the discrete palettes and the dynamic
palettes. Defaults to FALSE which indicates discrete palettes.