tipToRootDist: Distance from root to tip

Description Usage Arguments Value Author(s) See Also Examples

View source: R/tipToRootDist.R

Description

The distance from the root for each tip in a tree.

Usage

1

Arguments

phy

A ‘phylo’ object.

Value

A vector with the distance from the root for each tip of the tree.

Author(s)

Samuel Brown <s_d_j_brown@hotmail.com>

See Also

For more information on some of the different matching criteria see: nearNeighbour, monophyly

Examples

1
2
3
4
data(dolomedes)
doloTr <- nj(dist.dna(dolomedes))

tipToRootDist(doloTr)

spiderDev documentation built on May 2, 2019, 5:23 p.m.