addAQILines {AirMonitor}R 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"),
  NAAQS = c("PM2.5", "PM2.5_2024"),
  ...
)

Arguments

pollutant

EPA AQS criteria pollutant.

palette

Named color palette to use for AQI categories.

NAAQS

Version of NAAQS levels to use. See Note.

...

additional arguments to be passed to abline()

Value

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

Note

On February 7, 2024, EPA strengthened the National Ambient Air Quality Standards for Particulate Matter (PM NAAQS) to protect millions of Americans from harmful and costly health impacts, such as heart attacks and premature death. Particle or soot pollution is one of the most dangerous forms of air pollution, and an extensive body of science links it to a range of serious and sometimes deadly illnesses. EPA is setting the level of the primary (health-based) annual PM2.5 standard at 9.0 micrograms per cubic meter to provide increased public health protection, consistent with the available health science. See PM NAAQS update.


[Package AirMonitor version 0.4.0 Index]