calculate_db {ectotemp}R Documentation

Calculate accuracy of temperature regulation

Description

This function determines the degree to which ectotherms experience body temperatures outside their set-point range, better known as the accuracy of temperature regulation (db) as described by Hertz et al. (1993). Descriptive statistics are automatically computed as well.

Usage

calculate_db(tb, tset_low, tset_up)

Arguments

tb

A vector containing body temperature measurements.

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

Degree to which ectotherms experience body temperatures outside their set-point range (db), 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

tb <- na.omit(bufbuf[,"tb"])
db_stats <- calculate_db(tb, 19.35, 26.44)


[Package ectotemp version 0.2.0 Index]