Learn R Programming

beautier (version 2.6.12)

get_crown_age: 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)

Value

the crown age of the phylogeny

Arguments

phylogeny

The phylogeny to obtain the crown age of

Author

Richèl J.C. Bilderbeek

Examples

Run this code
check_empty_beautier_folder()

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

check_empty_beautier_folder()

Run the code above in your browser using DataLab