node.depth: Depth of Nodes and Tips

Description Usage Arguments Details Value Author(s) See Also

Description

This function returns the depth of nodes and tips given by the number of descendants (1 is returned for tips).

Usage

1

Arguments

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.

Value

A numeric vector indexed with the node numbers of the matrix ‘edge’ of phy.

Author(s)

Emmanuel Paradis

See Also

plot.phylo


gjuggler/ape documentation built on May 17, 2019, 6:03 a.m.