Description Usage Arguments Value
View source: R/day_of_week_aqiBar.R
Generate a bar chart of AQI measurements for a sensor.
1 | day_of_week_aqiBar(sensor, aqi_country, day = "all", position = "stack")
|
sensor |
An AirSensor object. |
aqi_country |
The country who's Air Quality Index (AQI) should be used for plotting, as an ISO 2 letter country code. Current options are "US" and "IN". |
day |
Character vector containing days of the week to show in plot (all lowercase), or 'all' to use all days of the week. |
position |
Whether to use stacked bar chart showing counts or filled bar chart showing normalized proportions. |
a ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.