View source: R/specific_calculations.R
| degreedays | R Documentation | 
"In a nutshell: heating degree days are a measure of how much (in degrees), and for how long (in days), the air temperature was below a certain level." — Martin Bromley, http://www.degreedays.net/introduction
degreedays(min, max, base, method = "modavg")
min | 
 (Numeric) The lowest temperature in the day.  | 
max | 
 (Numeric) The highest temperature in the day.  | 
base | 
 (Numeric) The threshold for counting degree-days. This could be the temperature when plants begin their spring growth or insects become noticeably active, or some other biologically-meaningful baseline.  | 
method | 
 (String,   | 
This function exposes two calculation methods that were taken from
Herms, Daniel A. 2013. “Using Degree-Days and Plant Phenology to Predict Pest Activity.” IPM of Midwest Landscapes: Tactics and Tools for IPM. 2013. http://cues.cfans.umn.edu/old/IPM-Tactics/IPM-tactics.html.
Average method (avg)
"If the maximum temperature for the day never rises above the base temperature, then no development occurs, and zero degree-days accumulate (we don't calculate negative degree-day values since the development of organisms does not reverse when it is cold)." — Daniel A. Herms
Modified Average (modavg)
"When the daily temperature fluctuates above and below the base temperature (as it does frequently in the spring), the Average Method can underestimate the number of degree-days actually experienced by a plant or insect. In this situation, the Modified Average Method will calculate a higher number of degree-days, and thus can be more accurate for predicting pest activity than the Average Method." — Daniel A. Herms
A numeric vector of the same length as min and max, with each entry containing the degree-day value for that day.
Desi Quintans (http://www.desiquintans.com)
Daniel A. Herms https://scholar.google.com/citations?user=yMYvlKsAAAAJ&hl=en
Herms, Daniel A. 2013. “Using Degree-Days and Plant Phenology to Predict Pest Activity.” IPM of Midwest Landscapes: Tactics and Tools for IPM. 2013. http://cues.cfans.umn.edu/old/IPM-Tactics/IPM-tactics.html.
degreedays(min = c(19, 20, 20, 21), max = c(25, 24, 23, 22), base = 22, method = "modavg")
#> [1] 1.5 1.0 0.5 0.0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.