| ck_diurnal_range | R Documentation |
Mean daily temperature range (Tmax - Tmin) per period.
ck_diurnal_range(tmin, tmax, dates, period = "annual")
tmin |
Numeric vector of daily minimum temperatures (degrees C). |
tmax |
Numeric vector of daily maximum temperatures (degrees C). |
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
tmin <- c(-2, 3, -1, 5, -3, 0, 2, -4, 1, -1)
tmax <- c(5, 10, 6, 12, 4, 8, 9, 3, 7, 6)
ck_diurnal_range(tmin, tmax, dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.