X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2Fnode.depth.Rd;fp=man%2Fnode.depth.Rd;h=e4c7bf9bcecf6b812634ef14ad3c8d9aa5458098;hb=b9e04a6e6af3beda74b916eda00b42ac38875563;hp=aced56a8c4952757ddc07958b0546ee4dab8fbdb;hpb=22bfb51d0260544b61b4bdfbd8e039d52b540617;p=ape.git diff --git a/man/node.depth.Rd b/man/node.depth.Rd index aced56a..e4c7bf9 100644 --- a/man/node.depth.Rd +++ b/man/node.depth.Rd @@ -1,19 +1,31 @@ \name{node.depth} \alias{node.depth} -\title{Depth of Nodes and Tips} +\alias{node.depth.length} +\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.length(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.length} 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