nodeTimes: Calculate the time from the root to each node of the tree

Description Usage Arguments Value

View source: R/utilities.R

Description

Calculate the time from the root to each node of the tree

Usage

1
nodeTimes(tree, tipsOnly = FALSE)

Arguments

tree

An object of class phylo.

tipsOnly

Logical indicating whether the returned results should be truncated only to the tips of the tree.

Value

A vector of size the number of nodes in the tree (tips, root, internal) containing the time from the root to the corresponding node in the tree.


POUMM documentation built on Oct. 27, 2020, 5:06 p.m.