Description Usage Arguments Value Examples
Calculate daily sums or averages, e.g. from from hourly irradiation data.
1 | aggregate_daily(time, y, basedate, FUN = sum)
|
time |
vector of POSIXct times |
y |
corresponding vector of data (e.g. hourly) |
basedate |
reference date where the series starts from, e.g., "1970-01-01 00:00.00 UTC" |
FUN |
function that is applied to the data of each day |
Data frame with the following columns:
POSIXct time of the days
vector of aggregated values
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.