gdd_daily: Daily Accumulation of Degree-Days (Field Application)

View source: R/gdd_daily.R

gdd_dailyR Documentation

Daily Accumulation of Degree-Days (Field Application)

Description

Accumulates daily degree-days above the developmental threshold temperature, useful for predicting field phenology (e.g. the date on which a stage completes its effective accumulated temperature K).

Usage

gdd_daily(Tmin, Tmax, C, method = c("avg", "triangle"))

Arguments

Tmin, Tmax

Numeric vectors of daily minimum / maximum temperatures (deg C).

C

Developmental threshold temperature (deg C), e.g. taken from a gdd_calc() fit: fit$fits$Egg$C.

method

"avg" (default) uses the daily mean temperature; "triangle" uses the single-triangle method, which credits partial degree-days when the daily minimum lies below C.

Value

A list with daily, cumulative and total.

Examples

gdd_daily(c(8, 10, 12), c(20, 22, 25), C = 11)$total

insectecol documentation built on Oct. 5, 2026, 5:08 p.m.