3 \alias{node.depth.edgelength}
5 \alias{node.height.clado}
6 \title{Depth and Heights of Nodes and Tips}
8 These functions return the depth or height of nodes and tips.
12 node.depth.edgelength(phy)
14 node.height.clado(phy)
17 \item{phy}{an object of class "phylo".}
20 \code{node.depth} computes the depth of a node as the number of tips
21 which are its descendants. The value of 1 is given to the tips.
23 \code{node.depth.edgelength} does the same but using branch lengths.
25 \code{node.height} computes the heights of nodes and tips as plotted
28 \code{node.height.clado} does the same but for a cladogram.
31 A numeric vector indexed with the node numbers of the matrix `edge' of
34 \author{Emmanuel Paradis}
36 \code{\link{plot.phylo}}