Description Usage Arguments Value
Average raw hourly data by year or month-year
1 2 | average_data(df, avg.time = "year", statistic = "mean",
sites = FALSE, date.format = FALSE)
|
df |
Data frame containing the variables |
avg.time |
Character vector specifying the time period over which to average the data. Option are 'year' or 'month' (to return the annual/monthly average) |
statistic |
The statistic to use for averaging. Options are 'mean' or 'median'. |
sites |
Logical indicating whether averaging should be grouped by site (TRUE) or data should be averaged over all sites (FALSE). |
Data frame of annual/monthly average concentration data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.