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/fossilsim documentation built on April 23, 2024, 3:16 p.m.