tree.max: Find the maximum age in a phylo object (root age or origin...

View source: R/utils.R

tree.maxR 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)


FossilSim documentation built on Oct. 5, 2023, 5:08 p.m.