]> git.donarmstrong.com Git - ape.git/blob - man/node.depth.Rd
various corrections
[ape.git] / man / node.depth.Rd
1 \name{node.depth}
2 \alias{node.depth}
3 \title{Depth of Nodes and Tips}
4 \description{
5   This function returns the depth of nodes and tips given by the number
6   of descendants (1 is returned for tips).
7 }
8 \usage{
9 node.depth(phy)
10 }
11 \arguments{
12   \item{phy}{an object of class "phylo".}
13 }
14 \details{
15   The depth of a node is computed as the number of tips which are its
16   descendants. The value of 1 is given to the tips.
17 }
18 \value{
19   A numeric vector indexed with the node numbers of the matrix `edge' of
20   \code{phy}.
21 }
22 \author{Emmanuel Paradis}
23 \seealso{
24   \code{\link{plot.phylo}}
25 }
26 \keyword{manip}