getTreeIntervals: Calculate the branching times and leaf heights of a tree

Description Usage Arguments Details

Description

DOESN'T SEEM TO WORK... Branching events labelled by a 1, leaves (sampling/death) by a 0

Usage

1
getTreeIntervals(tree, reverse = FALSE, includeRoot = TRUE)

Arguments

tree

The tree to calculate the times on

reverse

If true return time from the present, otherwise time from the root (default=FALSE)

includeRoot

If true include the root in the time estimation (only has an effect if reverseTime is false) (default=TRUE)

Details

(based on getx() function by Tanja Stadler)


laduplessis/bdskytools documentation built on May 20, 2019, 7:33 p.m.