# Calculate GDD in the example dataset using 4.5ºC as base temperature and no
# upper threshold.
library(magrittr)
library(dplyr)
GDD <- GDD_linear(Tudela_DW,4.5)
# Calculate GDD in the example dataset using 4.5ºC as base temperature and an
# upper threshold at 25ºC.
GDD <- GDD_linear(Tudela_DW,4.5,25)
Run the code above in your browser using DataLab