View source: R/summariseSitesByDateRange.R
summariseSitesByDateRange | R Documentation |
Return mean median and standard deviation of value or diff column
summariseSitesByDateRange( df, date_start = lubridate::ymd_hm("2020-01-01 00:00"), date_end = lubridate::ymd_hm("2020-01-31 00:00"), by_code = F )
df |
data frame containing date, value/diff and optionally code |
date_start |
POSIXct refering to the beginning of the period to be summarised |
date_end |
POSIXct refering to the end of the period to be summarised |
by_code |
logical, should the data be grouped by code |
W. S. Drysdale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.