Description Usage Arguments Value
View source: R/aggregate_time.R
Aggregate time series derived from climate raster aggregation
1 2 3 4 5 6 7 | aggregate_time(
ts_tbl,
time_int = "day",
drop_col = FALSE,
aggr_fun = mean,
...
)
|
ts_tbl |
tibble with timeseries data for basin subunits |
time_int |
character time interval to aggregate, either 'year', 'mon', 'day', 'hour', or 'min' |
drop_col |
logical to set whether unused time columns are dropped (TRUE) or kept in the table (FALSE). If FALSE unused time columns values are set to zero. |
aggr_fun |
Aggregation function to apply |
... |
further function arguments of aggr_fun |
Returns an aggregated time series tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.