DDD5.2.2 package

Diversity-Dependent Diversification

bd_loglik

Loglikelihood for diversity-independent diversification model

bd_ML

Maximization of the loglikelihood under the diversity-independent, pos...

brts2phylo

Function to convert a set of branching times into a phylogeny with ran...

conv

Function to do convolution of two vectors

dd_KI_loglik

Loglikelihood for diversity-dependent diversification models with deco...

dd_KI_ML

Maximization of the loglikelihood under a diversity-dependent diversif...

dd_KI_sim

Function to simulate a key innovation in macro-evolution with the inno...

dd_loglik

Loglikelihood for diversity-dependent diversification models

dd_LR

Bootstrap likelihood ratio test of diversity-dependent diversification...

dd_ML

Maximization of the loglikelihood under a diversity-dependent diversif...

dd_MS_loglik

Loglikelihood for macro-evolutionary succession under diversity-depend...

dd_MS_ML

Maximization of the loglikelihood under a diversity-dependent diversif...

dd_MS_sim

Function to simulate the macro-evolutionary succession process assumin...

dd_multiple_KI_loglik

Loglikelihood for diversity-dependent diversification models with mult...

dd_sim

Function to simulate the diversity-dependent diversification process

dd_SR_loglik

Loglikelihood for diversity-dependent diversification models with a sh...

dd_SR_ML

Maximization of the loglikelihood under a diversity-dependent diversif...

dd_SR_sim

Function to simulate the diversity-dependent diversification process w...

DDD-package

DDD: Diversity-Dependent Diversification

L2brts

Function to convert a table with speciation and extinction events to a...

L2phylo

Function to convert a table with speciation and extinction events to a...

optimizer

Carries out optimization (finding a minimum)

phylo2L

Function to convert phylogeny to a table with speciation and extinctio...

rng_respecting_sample

Sampling in which zero probabilities are removed

roundn

Rounds up in the usual manner

sample2

Takes samples in the usual manner

simplex

Carries out optimization using a simplex algorithm (finding a minimum)

td_sim

Simulation of a diversity-dependent-like time-dependent process

transform_pars

Transforming parameters from -Inf to Inf into parameters from -1 to 1

untransform_pars

Untransforming parameters from -1 to 1 into parameters from -Inf to In...

Implements maximum likelihood and bootstrap methods based on the diversity-dependent birth-death process to test whether speciation or extinction are diversity-dependent, under various models including various types of key innovations. See Etienne et al. 2012, Proc. Roy. Soc. B 279: 1300-1309, <DOI:10.1098/rspb.2011.1439>, Etienne & Haegeman 2012, Am. Nat. 180: E75-E89, <DOI:10.1086/667574>, Etienne et al. 2016. Meth. Ecol. Evol. 7: 1092-1099, <DOI:10.1111/2041-210X.12565> and Laudanno et al. 2021. Syst. Biol. 70: 389–407, <DOI:10.1093/sysbio/syaa048>. Also contains functions to simulate the diversity-dependent process.

  • Maintainer: Rampal S. Etienne
  • License: GPL-3
  • Last published: 2023-07-10