Description Usage Arguments Value
Plot average trends in pollutant concentration
1 | trends_plots_helper(df, sites, poll, stat, start.date, end.date)
|
df |
Data frame of average pollutant concentrations containing the variables |
sites |
Logical indicating whether to plot trends by site (TRUE) or average trend over all sites (FALSE). |
poll |
The pollutant for which to plot the trends. |
stat |
The statistic which was used for averaging (for the y axis label) |
start.date, end.date |
A string in the format "YYYY-MM-DD" specifying the starting date and the ending date for the trends. |
smooth.method |
The smoothing method to use in the |
A plot of the average trend in poll
concentration over the period start.date
- codeend.date either
for each monitoring site or averaged over all monitoring sites
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.