X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2Fnode.depth.Rd;h=0741c7a4779871d500b1b7f09a4bbf9b00a4c9c3;hb=12b407de3b6d3a160eb2ebd48d005da328735206;hp=ee1d4570dcfd60bbc5a4e24af319fc2a96b6e30b;hpb=c827059eeafc8cbe41c812b26979543ab287803e;p=ape.git diff --git a/man/node.depth.Rd b/man/node.depth.Rd index ee1d457..0741c7a 100644 --- a/man/node.depth.Rd +++ b/man/node.depth.Rd @@ -1,25 +1,37 @@ \name{node.depth} \alias{node.depth} -\title{Depth of Nodes and Tips} +\alias{node.depth.edgelength} +\alias{node.height} +\alias{node.height.clado} +\title{Depth and Heights of Nodes and Tips} \description{ - This function returns the depth of nodes and tips given by the number - of descendants (1 is returned for tips). + These functions return the depth or height of nodes and tips. } \usage{ node.depth(phy) +node.depth.edgelength(phy) +node.height(phy) +node.height.clado(phy) } \arguments{ \item{phy}{an object of class "phylo".} } \details{ - The depth of a node is computed as the number of tips which are its - descendants. The value of 1 is given to the tips. + \code{node.depth} computes the depth of a node as the number of tips + which are its descendants. The value of 1 is given to the tips. + + \code{node.depth.edgelength} does the same but using branch lengths. + + \code{node.height} computes the heights of nodes and tips as plotted + by a phylogram. + + \code{node.height.clado} does the same but for a cladogram. } \value{ A numeric vector indexed with the node numbers of the matrix `edge' of \code{phy}. } -\author{Emmanuel Paradis \email{Emmanuel.Paradis@mpl.ird.fr}} +\author{Emmanuel Paradis} \seealso{ \code{\link{plot.phylo}} }