Description Usage Arguments explanation
View source: R/discrete-scale.R
For fill aesthetics in ggplot2
1 | scale_fill_ggpalette_d(primary = "pink", other = "orange", direction = 1, ...)
|
Usage: |
scale_fill_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 allows your palette to be used for fill aesthetics in ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.