pruningwise.branching.times: Calculates internal node ages in an ultrametric "pruningwise"...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/tools.R

Description

Calculates the branching times, or ages, of all internal nodes in an ultrametric tree whose internal representation is in "pruningwise" order.

Usage

1

Arguments

phy

an ultrametric phylogenetic tree of type phylo with branch lengths, already in "pruningwise" order.

Value

a vector of node ages, with the original internal node names if those were available in phy, or otherwise named by the node numbers in phy.

Author(s)

Lam Si Tung Ho

See Also

pruningwise.distFromRoot, branching.times.

Examples

1
2
tre = reorder(rcoal(50),"pruningwise")
pruningwise.branching.times(tre)

phylolm documentation built on July 2, 2020, 3:44 a.m.