| test_rangeshift {marcher} | R Documentation |
Range shift hypothesis tests
Description
Three tests for three hypotheses to test on fitted range shifts: Was the range shift significant? Did an animal that performed two consecutive seasonal migrations return to the same location it began? Was there a stopover during a migration?
Usage
test_rangeshift(FIT, verbose = TRUE)
test_return(FIT, verbose = TRUE)
test_stopover(FIT, verbose = TRUE)
Arguments
FIT |
a fitted range shift (output of |
verbose |
whether to print verbose message |
Value
Outputs a summary of the test results and returns a list of test results including:
aic.tablean AIC table comparing modelslrta likelihood ratio test statisticdfdegrees of freedom for the l.r.t.p.valuea p.value for the l.r.t.
Functions
-
test_rangeshift: Compare a two range fitted model to a null model of no range shift. -
test_return: Compares a three range fitted model in which the first and third ranges have the same centroid against a model where the first and third centroid are different. -
test_stopover: Compare a three range model with an apparent stopover (shorter intermediate range), and see if a more parsimonious model excludes the stopover.