ape (version 2.7-3)

richness.yule.test: Test of Diversification-Shift With the Yule Process

Description

This function performs a test of shift in diversification rate using probabilities from the Yule process.

Usage

richness.yule.test(x, t)

Arguments

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 t
t
a numeric vector giving the divergence times of each pair of clades in x.

Value

  • a data frame with the $\chi^2$, the number of degrees of freedom (= 1), and the P-value.

References

Paradis, E. Shift in diversification in sister-clade comparisons: a more powerful test. (manuscript submitted)

See Also

slowinskiguyer.test, mcconwaysims.test diversity.contrast.test

Examples

Run this code
### see examples(mcconwaysims.test)

Run the code above in your browser using DataCamp Workspace