get_root_age: Get the age of the root of a tree

View source: R/get_root_age.R

get_root_ageR Documentation

Get the age of the root of a tree

Description

A bit hacky; not the most efficient function but that's what I could come up with quickly.

Usage

get_root_age(phylo, present_time = 0)

Arguments

phylo

a phylo class object

present_time

the time at present, assumed to be 0 by default

Value

the root age, a double.

Author(s)

Theo Pannetier


TheoPannetier/comrad documentation built on April 8, 2023, 8:06 a.m.