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)

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

amitjavilaventura