calculate_db: Calculate accuracy of temperature regulation

Description Usage Arguments Value References Examples

View source: R/calculate_db.R

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

1
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

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

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