getRSI {marcher} | R Documentation |
Compute Range Shift Index
Description
The range shift index is a dimensionless measure of the distance of the centroids of two ranges divided by the diameter of the 95% area. This function uses the 95% confidence intervals from a range shift fit to calculate a point estimate and 95% confidence intervals of the RSI.
Usage
getRSI(FIT, n1 = 1, n2 = 2, nboot = 1000)
Arguments
FIT |
a rnage shift object, outputted by |
n1 |
the indices of the ranges to estimate from and to, i.e., for single shift, 1 and 2. For three ranges (two shifts) it can be 1 and 2, 2 and 3, or 1 and 3 - if the ultimate shift is the one of interest. |
n2 |
see n1 |
nboot |
number of bootstrap simulation |
Value
returns a data frame reporting the distance traveled, the RSI and respective bootstrapped confidence intervals.
[Package marcher version 0.0-2 Index]