calculate_de: Calculate thermal quality of the habitat

Description Usage Arguments Value References Examples

View source: R/calculate_de.R

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

1
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

1
2
te <- na.omit(bufbuf[,"te"])
de_stats <- calculate_de(te, 19.35, 26.44)

ectotemp documentation built on July 16, 2020, 5:07 p.m.