View source: R/utils-color-facet-backgrounds.R
color_facet_backgrounds | R Documentation |
Color the backgrounds of the facet labels in a ggplot object
color_facet_backgrounds(
g = NULL,
facet_back_cols = NULL,
facet_back_alpha = 99
)
g |
The ggplot object |
facet_back_cols |
A vector of the colors to apply to the facet backgrounds |
facet_back_alpha |
transparency between 0 and 99 |
The modified ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.