stem_age: Calculate the stem age of a phylogeny

View source: R/stem_age.R

stem_ageR Documentation

Calculate the stem age of a phylogeny

Description

Calculate the stem age of a rooted ultrametric phylogeny or set of phylogenies. This function can used only on stem crown phylogenie(s) and on binary or non binary phylogenie(s).

Usage

stem_age(phylo)

Arguments

phylo

Object of class phylo or multiPhylo. A rooted ultrametric phylogeny of class phylo or a set of rooted ultrametric phylogenies of class multiPhylo. The rooted ultrametric phylogenie(s) can have polytomie(s) (i.e. non binary tree).

Details

This function will calculate the stem age of a phylogeny or a set of phylogenies.

Value

Returns the value of the stem age in the same unit as the branch length of the phylogenie(s) (typically in million of years).

Author(s)

Sophia Lambert

See Also

crown_age


sophia-lambert/UDivEvo documentation built on Sept. 27, 2022, 11:05 p.m.