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

View source: R/PCMTree.R

PCMTreeNodeTimesR Documentation

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

Description

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

Usage

PCMTreeNodeTimes(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.


venelin/PCMBase documentation built on May 20, 2024, 5:53 a.m.