Learn R Programming

phytools (version 0.2-40)

estDiversity: Estimate diversity at each node of the tree

Description

This function estimates the lineage density at each node in the tree based on a biogeographic model (based on Mahler et al. 2010; Evolution).

Usage

estDiversity(tree, x)

Arguments

tree
is a phylogenetic tree in "phylo" format.
x
a vector containing the biogeographic area for each of the tip taxa.

Value

  • a vector containing the estimated lineage density at each node

Details

Very slow. This function (presently) relies on many calls to ace.

References

Mahler, D. L, L. J. Revell, R. E. Glor, and J. B. Losos. 2010. Ecological opportunity and the rate of morphological evolution in the diversification of Greater Antillean anoles. Evolution, 64, 2731-2745.

See Also

fitDiversityModel