estimate_n_taxa: Estimate approximately the expected number of taxa

Description Usage Arguments Value

View source: R/mbd_utils.R

Description

Estimate approximately the expected number of taxa

Usage

1
estimate_n_taxa(pars, n_0, age)

Arguments

pars

vector of parameters:

  • pars[1] is lambda, the sympatric speciation rate;

  • pars[2] is mu, the extinction rate;

  • pars[3] is nu, the multiple allopatric speciation trigger rate;

  • pars[4] is q, the single-lineage speciation probability;

n_0

the number of lineages at time equals zero.

age

the age of the tree.

Value

a list with mean and standard deviation


Giappo/mbd documentation built on March 3, 2020, 3:36 a.m.