node.depth.edgelength {ape}R Documentation

Distance from Root to Nodes and Tips

Description

This function returns the distance from the root to each node and tip with respect to the edge lengths.

Usage

node.depth.edgelength(x, el)

Arguments

x the matrix `edge' of an object of class "phylo".
el the vector `edge.length' of an object of class "phylo".

Value

A numeric vector with `names' being the ``numbers'' of the matrix `edge'.

Note

This function is actually called by plot.phylo(), and is unlikely to be called directly. However, it is documented separately since it may be useful for developpers.

Author(s)

Emmanuel Paradis paradis@isem.univ-montp2.fr

See Also

node.depth, plot.phylo


[Package Contents]