R: Calculates internal node ages in an ultrametric "pruningwise"...

pruningwise.branching.times {phylolm} | R 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)

[Package phylolm version 2.6.2 Index]