View source: R/precipitation.R
| ck_max_5day_precip | R Documentation |
Maximum precipitation total over any 5 consecutive days per period.
ck_max_5day_precip(precip, dates, period = "annual")
precip |
Numeric vector of daily precipitation (mm). |
dates |
Date vector of the same length as |
period |
Character. Aggregation period: |
A data frame with columns period, value, index, and unit.
dates <- as.Date("2024-01-01") + 0:9
precip <- c(0, 5, 22, 0, 15, 25, 0, 11, 4, 30)
ck_max_5day_precip(precip, dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.