workweek_weeknd_pmPlot: Plots Particulate Matter 2.5 Hour of Day Averages with lines...

Description Usage Arguments Value

View source: R/workweek_weeknd_pmPlot.R

Description

Plot the mean PM2.5 value for each hour of the day, with separate lines for weekdays and weekend values for one or more sensors.

Usage

1
2
3
4
5
6
workweek_weeknd_pmPlot(
  sensor_list,
  aqi_country,
  sensor_colors = NULL,
  aqi_bar_alpha = 0.2
)

Arguments

sensor_list

A list of AirSensor objects.

aqi_country

Character vector ISO 3166-1 alpha-2 country code of country who's Air Quality Index (AQI) should be used for plotting background. Current options are United States ("US") or India ("IN").

sensor_colors

Character Vector the length of unique sensors in outliercount_list, of hexadigit colors to use for distinguishing sensor lines. If NULL, the default, a random palette will be produce. See details for more information.

aqi_bar_alpha

Numeric between 0 and 1 indicating the opacity of the AQI background colors. Default is 0.2

Value

ggplot object.


iozeroff/pavisualizR documentation built on July 5, 2020, 12:14 p.m.