tree.max {FossilSim} | R Documentation |
Find the maximum age in a phylo object (root age or origin time)
Description
Function returns the the root age or the origin time (if root.edge = TRUE
).
Usage
tree.max(tree, root.edge = TRUE)
Arguments
tree |
Phylo object. |
root.edge |
If TRUE include the root edge (default = TRUE). |
Value
max age
Examples
t = ape::rtree(6)
tree.max(t, root.edge = FALSE)
[Package FossilSim version 2.3.3 Index]