R: Get age of tree

getAge {treeman} | R 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

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

[Package treeman version 1.1.4 Index]