get_crown_age: Obtain the crown age of a phylogeny.

View source: R/get_crown_age.R

get_crown_ageR Documentation

Obtain the crown age of a phylogeny.

Description

The crown age of a phylogeny is the time between the present and the moment of at which the first diversification (resulting in two lineages) happened.

Usage

get_crown_age(phylogeny)

Arguments

phylogeny

The phylogeny to obtain the crown age of

Value

the crown age of the phylogeny

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

phylogeny <- ape::read.tree(text = "(a:15,b:15):1;")
get_crown_age(phylogeny = phylogeny)

check_empty_beautier_folder()

ropensci/beautier documentation built on April 2, 2024, 5:01 a.m.