extinction.subsets {dispRity} | R Documentation |
Getting the time subsets before and after an extinction event
Description
Getting the reference (pre-extinction) and the comparison (post-extinction) time subsets
Usage
extinction.subsets(data, extinction, lag = 1, names = FALSE, as.list = FALSE)
Arguments
data |
a |
extinction |
|
lag |
|
names |
|
as.list |
|
Author(s)
Thomas Guillerme
See Also
Examples
## Loading some disparity data
data(disparity)
## Time subsets for the K-Pg extinction (66 Mya)
extinction.subsets(disparity, 66, names = TRUE)
## Extinction with a lag effect of 3 slices
extinction_time <- extinction.subsets(disparity, 66, lag = 3, as.list = TRUE)
## Testing the extinction effect with a lag
test.dispRity(disparity, wilcox.test, comparisons = extinction_time,
correction = "bonferroni")
[Package dispRity version 1.8 Index]