custom_aqiStackedBar: Add AQ category stacked bars to a plot

View source: R/custom_aqiAnnotation.R

custom_aqiStackedBarR Documentation

Add AQ category stacked bars to a plot

Description

Adds AQ category stacked bars to a plot.

Usage

custom_aqiStackedBar(width = 0.02, position = "identity", ...)

Arguments

width

Width of bars as a fraction of plot width.

position

Position adjustment, either as a string, or the result of a call to a position adjustment function.

...

Additional arguments passed on to layer, such as alpha.

Value

A ggplot plot object with AQ category annotations.

Examples

library (AirMonitorPlots)

AirMonitor::Carmel_Valley %>%
  ggplot_pm25Timeseries() +
  custom_aqiLines() +
  custom_aqiStackedBar()

MazamaScience/AirMonitorPlots documentation built on May 8, 2024, 6:16 a.m.