| Title: | Degree-Day Phenology Calculator (Shiny Application) |
|---|---|
| Description: | Provides a Shiny application to compute daily and cumulative degree-days from minimum and maximum temperatures using average, triangular, and sine-wave methods, optionally including an upper temperature threshold. The application maps cumulative thermal accumulation to user-defined developmental stage thresholds and allows exporting tabular and graphical results. |
| Authors: | Victor Manuel Almaraz Valle [aut, cre] (ORCID: <https://orcid.org/0000-0002-3673-8002>), J. Concepción Rodríguez Maciel [aut], Gustavo Ramírez Valverde [aut], Jaime Alfredo Urzua Gutierrez [aut], Manuel Alejandro Tejeda Reyes [aut] |
| Maintainer: | Victor Manuel Almaraz Valle <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.0 |
| Built: | 2026-05-21 09:20:21 UTC |
| Source: | https://github.com/almarazkrae-4081/degreedaycalc |
Calculates daily degree-days (thermal units) from Tmin and Tmax using several common methods (average, triangular, sine). Optionally, an upper threshold (Tupper) can be applied in methods supporting it.
degree_days( Tmin, Tmax, Tbase, Tupper = NULL, method = c("average", "average_cut", "triangle", "triangle_upper", "sine", "sine_upper") )degree_days( Tmin, Tmax, Tbase, Tupper = NULL, method = c("average", "average_cut", "triangle", "triangle_upper", "sine", "sine_upper") )
Tmin |
Daily minimum temperature (°C). |
Tmax |
Daily maximum temperature (°C). |
Tbase |
Base (lower developmental threshold) temperature (°C). |
Tupper |
Optional upper temperature threshold (°C). Required for
|
method |
Degree-day method. One of |
A numeric value (degree-days) rounded to 3 decimals.
Convenience wrapper to launch the Shiny application.
DegreeDayCalc()DegreeDayCalc()
Runs a Shiny application.
Opens the Degree-Day Phenology Calculator Shiny app bundled with the package.
run_app()run_app()
Runs a Shiny application.