Description Usage Arguments Value References See Also Examples
To test whether or not distinct species or populations (hereafter 'entity') differed in their effectiveness of thermoregulation, Hertz et al. (1993) suggested comparing paired estimates of E obtained through bootstrapping. However, because sample sizes of active body temperatures (Tb) or operative temperatures (Te) may be small and could differ in size and variance, possibly leading to non-normality, we propose to use two-sided permutation testing instead of bootstrapping to build and compare distributions of E values.
1 2 3 4 5 6 7 8 9 10 | compare_E(
datasp1,
datasp2,
tset_lowsp1,
tset_upsp1,
tset_lowsp2,
tset_upsp2,
index,
n
)
|
datasp1 |
A dataframe with two columns named 'te' (containing operative temperatures) and 'tb' (containing body temperature measurements) of entity 1. Do not use capitals in column names. |
datasp2 |
A dataframe for entity 2 structured as indicated above. |
tset_lowsp1 |
Lower boundary of the set-point range of entity 1 that was determined through thermal preference trials in a temperature gradient. This may be a named double vector containing the lower boundary value, or simply the value itself. |
tset_upsp1 |
Upper boundary of the set-point range of entity 1. |
tset_lowsp2 |
Lower boundary of the set-point range of entity 2. |
tset_upsp2 |
Upper boundary of the set-point range of entity 2. |
index |
Either 'hertz' or 'blouin'. |
n |
The desired number of samples drawn without replacement. |
Permutation testing results including a graphical overview which displays the empirical (actual) difference in E between two entities, along with a null distribution of differences in permuted E values constructed from pooled data of both entities.
Blouin-Demers, G., & Weatherhead, P. J. (2001). Thermal ecology of black rat
snakes (Elaphe obsoleta) in a thermally challenging environment. Ecology, 82
(11), 3025-3043.
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.
calculate_E_hertz
and calculate_E_blouin
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.