nodeTimes {motmot}R 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)

[Package motmot version 2.1.3 Index]