Calculate the time from the root to each node of the tree
nodeTimes(tree, tipsOnly = FALSE)
An object of class phylo.
Logical indicating whether the returned results should be truncated only to the tips of the tree.
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.