View source: R/SlowinskiGuyer.R
richness.yule.test | R Documentation |
This function performs a test of shift in diversification rate using probabilities from the Yule process.
richness.yule.test(x, t)
x |
a matrix or a data frame with at least two columns: the first one gives the number of species in clades with a trait supposed to increase or decrease diversification rate, and the second one the number of species in the sister-clades without the trait. Each row represents a pair of sister-clades. |
t |
a numeric vector giving the divergence times of each pair of
clades in |
a data frame with the \chi^2
, the number of degrees of
freedom (= 1), and the P-value.
Emmanuel Paradis
Paradis, E. (2012) Shift in diversification in sister-clade comparisons: a more powerful test. Evolution, 66, 288–295.
slowinskiguyer.test
, mcconwaysims.test
,
diversity.contrast.test
### see example(mcconwaysims.test)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.