DR {treesliceR} | R Documentation |
Calculate the tip diversification rates (DR) for a phylogenetic tree
Description
This function computes the tip diversification rates Jetz et al., 2012, or DR, for an inputted ultrametric phylogenetic tree.
Usage
DR(tree)
Arguments
tree |
phylo. An ultrametric phylogenetic tree in the "phylo" format. |
Value
The function returns a data frame containing the tip diversification rates for all species within the inputted phylogenetic tree.
Author(s)
Matheus Lima de Araujo matheusaraujolima@live.com
References
See the tutorial on how to use this function on our website. Jetz, Walter, et al. "The global diversity of birds in space and time." Nature 491.7424 (2012): 444-448. doi:10.1038/nature11631
Examples
# Generate a random tree
tree <- ape::rcoal(20)
# Computing the tip-DR
DR(tree)
[Package treesliceR version 1.0.1 Index]