Learn R Programming

phylolm (version 2.6.5)

pruningwise.branching.times: 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)

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.

Arguments

phy

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

Author

Lam Si Tung Ho

See Also

pruningwise.distFromRoot, branching.times.

Examples

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

Run the code above in your browser using DataLab