R/helper_functions.R
triangular_temperature_response.Rd
As defined in: Basler et al. 2016 (Agr. For. Meteorlogy)
triangular_temperature_response(T = -10:45, T_opt = 10, T_min = 1, T_max = 15)
a vector or matrix of temperatures
optimal temperature
minimum viable temperature
maximum viable temperature
T_response = triangular_temperature_response(T = 0:45)
if (FALSE) {
plot(0:45, T_response, type = "l")
}