ape (version 1.2-7)

node.depth.edgelength: 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'.

See Also

node.depth, plot.phylo