Description Usage Arguments explanation
View source: R/discrete-scale.R
Discrete ggplot palettes
1 2 3 4 5 6 | scale_colour_ggpalette_d(
primary = "pink",
other = "orange",
direction = 1,
...
)
|
Usage: |
scale_colour_ggpalette_d (primary = "pink", other = "orange", direction = 1) |
Arguments: |
primary specify a manual color other specifies the name of the second (or other) color direction default value is 1; allows the user reverse the order of the palette |
A function that uses ggplot2::discrete_scale to allow ggplot2 to use the colour palette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.