View source: R/dispRity.utilities.R
extinction.subsets | R Documentation |
Getting the reference (pre-extinction) and the comparison (post-extinction) time subsets
extinction.subsets(data, extinction, lag = 1, names = FALSE, as.list = FALSE)
data |
a |
extinction |
|
lag |
|
names |
|
as.list |
|
Thomas Guillerme
chrono.subsets
, test.dispRity
## 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.