plot_facets_color | R Documentation |
Color facet strips by a variable
plot_facets_color(p, strip_color, palette)
p |
A ggplot object for the original facetted plot. |
strip_color |
Categorical column in the data for the original plot to use to color the facet strips. Tidyeval is used here. |
palette |
A character vector of colors. Can be named to assign each color to a value in 'strip_color'. |
Nothing, the plot is printed to device.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.