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

nodeTimes(tree, tipsOnly = FALSE)

Arguments

tree

an object of class phylo

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