calculate_de {ectotemp} | R Documentation |
Calculate thermal quality of the habitat
Description
This function calculates the thermal quality of the habitat (de) from the perspective of the focal species or population as described by Hertz et al. (1993). Descriptive statistics are automatically computed as well.
Usage
calculate_de(te, tset_low, tset_up)
Arguments
te |
A vector containing operative temperatures. |
tset_low |
Lower boundary of a species or population set-point range that was determined through thermal preference trials in a temperature gradient. |
tset_up |
Upper boundary of the set-point range. |
Value
Thermal quality of the habitat (de) and associated descriptive statistics.
References
Hertz, P. E., Huey, R. B., & Stevenson, R. D. (1993). Evaluating temperature regulation by field-active ectotherms: the fallacy of the inappropriate question. The American Naturalist, 142(5), 796-818.
Examples
te <- na.omit(bufbuf[,"te"])
de_stats <- calculate_de(te, 19.35, 26.44)
[Package ectotemp version 0.2.0 Index]