nodeTimes: Get times for nodes and tips

Description Usage Arguments Value Note Author(s) Examples

View source: R/nodeTimes.R

Description

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

Usage

1
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

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

PuttickMacroevolution/motmot documentation built on June 5, 2020, 7 p.m.