treeman (version 1.1.3)

getAge: 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

Run this code
# NOT RUN {
library(treeman)
tree <- randTree(10)
(getAge(tree))
# }

Run the code above in your browser using DataCamp Workspace