ape2time: Convert tree from 'phylo' format (ape) to event time format.

Description Usage Arguments Details Author(s) See Also Examples

View source: R/ape2time.R

Description

Extract branching and sampling times from a tree in the native ape format.

Usage

1
ape2time(tree, eps = 0.0)

Arguments

tree

Tree in 'phylo' format.

eps

Error tolerance for the present time (see Details).

Details

In some cases R doesn't handle mathematical operations quite well and it can happen that tip ages are calculated as 10^-14 or similar instead of 0.0. 'eps' defines the tolerance for what is considered extant at the present (tip age < eps).

Author(s)

Gabriel E Leventhal

See Also

expoTree, ape

Examples

1
2
  data(bird.families)
  ape2time(bird.families)

expoTree documentation built on May 29, 2017, 3:49 p.m.