fill_strips | R Documentation |
Takes a ggplot-based plot with facets and colors the desired strips. It does not return a ggplot object
fill_strips(p, side = c("top", "right"), colors)
p |
ggplot object. |
side |
Character of length 1 to 4. Sides of the stripes to change the colors. One or more of c("top", "right","bottom","left") |
colors |
Character. Colors used to color the top strips. |
amitjavilaventura
ggplot2::ggplot_gtable()
ggplot2::ggplot_build()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.