color_facet_backgrounds: Color the backgrounds of the facet labels in a ggplot object

View source: R/utils-color-facet-backgrounds.R

color_facet_backgroundsR Documentation

Color the backgrounds of the facet labels in a ggplot object

Description

Color the backgrounds of the facet labels in a ggplot object

Usage

color_facet_backgrounds(
  g = NULL,
  facet_back_cols = NULL,
  facet_back_alpha = 99
)

Arguments

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

Value

The modified ggplot object


pacific-hake/pacifichakemse documentation built on June 11, 2024, 4:07 a.m.