Description Usage Arguments Value
View source: R/workweek_weeknd_pmPlot.R
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.
1 2 3 4 5 6 | workweek_weeknd_pmPlot(
sensor_list,
aqi_country,
sensor_colors = NULL,
aqi_bar_alpha = 0.2
)
|
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 |
ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.