nodeTimes: Get times for nodes and tips

View source: R/nodeTimes.R

nodeTimesR Documentation

Get times for nodes and tips

Description

Produces branching and tip times for ultrametric and non-ultrametric trees

Usage

nodeTimes(phy)

Arguments

phy

An object of class phylo (see ape).

Value

Returns a matrix corresponging the phy "edge" matrix showning internal and external node times

Note

nodeTimes is essentially a re-written version of the ape branching.times.

Author(s)

Mark Puttick, Emmanuel Paradis

Examples

## Read in phylogeny from Thomas et al. (2009)
data(anolis.tree)
anolis.node.times <- nodeTimes(phy=anolis.tree)

motmot documentation built on April 27, 2026, 9:08 a.m.