Description Usage Arguments Value Examples
View source: R/hyet_aggregate.R
hyet_aggregate
uses an hyetograph, single or grouped
(i.e. from hyet_split
) and a predefined time-step to aggregate
precipitation records. Returns an error if hyet
is not a valid
hyetograph.
1 | hyet_aggregate(hyet, time_step, ts_unit)
|
hyet |
an hyetograph from |
time_step |
a numeric value that represents the time-step. |
ts_unit |
a character string specifying the time unit. Valid values are "mins", "hours", "days", "months", "quarter" or "year". |
a tibble with the aggregated hyetograph.
1 2 | prec30min <- prec5min %>%
hyet_aggregate(30, "mins")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.