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

View source: R/tools.R

pruningwise.branching.timesR Documentation

Calculates internal node ages in an ultrametric "pruningwise" tree

Description

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

Usage

pruningwise.branching.times(phy)

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

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

lamho86/phylolm documentation built on Nov. 11, 2023, 6:17 a.m.