addAQILines: Add AQI lines to a plot

View source: R/addAQILines.R

addAQILinesR Documentation

Add AQI lines to a plot

Description

Draws AQI lines across a plot at the levels appropriate for The monitor_timeseriesPlot function uses this function internally when specifying addAQI = TRUE. pollutant.

Usage

addAQILines(
  pollutant = c("PM2.5", "CO", "OZONE", "PM10", "AQI"),
  palette = c("EPA", "subdued", "deuteranopia"),
  ...
)

Arguments

pollutant

EPA AQS criteria pollutant.

palette

Named color palette to use for AQI categories.

...

additional arguments to be passed to abline()

Value

No return value, called to add lines to a time series plot.


AirMonitor documentation built on Aug. 26, 2023, 1:08 a.m.