fill_strips: fill_strips

View source: R/fill_strips.R

fill_stripsR Documentation

fill_strips

Description

Takes a ggplot-based plot with facets and colors the desired strips. It does not return a ggplot object

Usage

fill_strips(p, side = c("top", "right"), colors)

Arguments

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.

Author(s)

amitjavilaventura

See Also

ggplot2::ggplot_gtable()

ggplot2::ggplot_build()


amitjavilaventura/ggmitji documentation built on March 27, 2024, 12:06 p.m.