getAge: Get age of tree

View source: R/a.R

getAgeR Documentation

Get age of tree

Description

Returns age, numeric, of tree

Usage

getAge(tree, parallel = FALSE)

Arguments

tree

TreeMan object

parallel

logical, make parallel?

Details

Calculates the age of a tree, determined as the maximum tip to root distance.

See Also

updateSlts, https://github.com/DomBennett/treeman/wiki/get-methods

Examples


tree <- randTree(10)
(getAge(tree))

ropensci/phylotaR documentation built on July 9, 2023, 3:17 p.m.