getAge: Get age of tree

Description Usage Arguments Details See Also Examples

View source: R/get-spcl-methods.R

Description

Returns age, numeric, of tree

Usage

1

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

1
2
3
library(treeman)
tree <- randTree(10)
(getAge(tree))

DomBennett/treeman documentation built on Nov. 12, 2020, 1:35 p.m.