| ck_growing_degree_days | R Documentation |
Sum of (Tavg - base) for all days where daily average temperature is
above the base temperature (default 10 degrees C).
ck_growing_degree_days(tavg, dates, base = 10, period = "annual")
tavg |
Numeric vector of daily average temperatures (degrees C). |
dates |
Date vector of the same length as |
base |
Numeric. Base temperature in degrees C (default 10). |
period |
Character. Aggregation period: |
A data frame with columns period, value, index, and unit.
dates <- as.Date("2024-07-01") + 0:9
tavg <- c(15, 20, 8, 12, 25, 9, 30, 11, 22, 18)
ck_growing_degree_days(tavg, dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.