ggpLayerColorGroupScale | R Documentation |
Creates a color spectrum from the color used to represent a group to transparent white (can be changed) to maintain a consistent color scheme.
ggpLayerColorGroupScale(
object,
grouping,
group,
clrp,
clrp_adjust = NULL,
low = ggplot2::alpha("white", 0),
aes = "color",
...
)
object |
An object of class |
grouping |
Character value. The grouping variable of interest. Use
|
clrp , clrp_adjust |
The colorpalette and adjustment used to visualize the grouping. |
low |
The color against which to plot. |
aes |
Either 'color' or 'fill'. |
... |
Additional arguments given to |
ggpLayer*()
-functions return lists of ggproto
objects
that can be added to ggplots via the +
operator. In most of the cases
they are supposed to be added to plots created with the plotSurface*()
family.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.