Skip to contents

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.

Examples


tree <- randTree(10)
(getAge(tree))
#> [1] 3.207328