| scale_fill_partial_effect | R Documentation |
Default diverging red-blue colour palette for partial effects
scale_fill_partial_effect(
name = "Partial effect",
...,
na.value = "grey50",
guide = "colourbar",
direction = -1
)
name |
The name of the scale. Used as the legend title. If |
... |
arguments passed to |
na.value |
Missing values will be replaced with this value (colour). |
guide |
A function used to create a guide or its name. See
|
direction |
Sets the order of colours in the scale. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.