rates_from_exp_dist: Estimate diversity-dependent rates from mean parameter of the...

View source: R/rates_from_exp_dist.R

rates_from_exp_distR Documentation

Estimate diversity-dependent rates from mean parameter of the exponential distribution

Description

For a list of phylogenies, reconstruct the average, per-capita rates of speciation and extinction corresponding to each level of species diversity.

Usage

rates_from_exp_dist(waiting_times_tbl)

Arguments

waiting_times_tbl

a table with waiting times, the output of waiting_times() for one or more phylogenies.

Value

a tibble with a row for every possible number of species and 4 columns:

  • N, level of diversity, nb of species

  • rate (speciation or extinction)

  • value value of that rate

  • dd_model = none, for compatibility with rates_from_dd_model()

  • ci_upper upper bound of the confidence interval of value

  • ci_lower lower bound of the confidence interval of value

Author(s)

Théo Pannetier


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