Learn R Programming

phytools (version 0.0-8)

nodeHeights: Estimate diversity at each node of the tree

Description

This function computes node heights for estDiversity.

Usage

nodeHeights(tree)

Arguments

tree
is a phylogenetic tree in "phylo" format.

Value

  • a matrix of the same dimensions as tree$edge containing the height above the root of each node in edge.

See Also

estDiversity, fitDiversityModel