Learn R Programming

⚠️There's a newer version (5.2.2) of this package.Take me there.

DDD (version 3.7)

Diversity-Dependent Diversification

Description

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, , Etienne & Haegeman 2012, Am. Nat. 180: E75-E89, and Etienne et al. 2016. Meth. Ecol. Evol. 7: 1092-1099, . Also contains functions to simulate the diversity-dependent process.

Copy Link

Version

Install

install.packages('DDD')

Monthly Downloads

693

Version

3.7

License

GPL-3

Maintainer

Rampal Etienne

Last Published

April 24th, 2018

Functions in DDD (3.7)

dd_sim

Function to simulate the diversity-dependent diversification process
roundn

Rounds up in the usual manner
dd_MS_ML

Maximization of the loglikelihood under a diversity-dependent diversification model with decoupling of a subclade's diversication dynamics from the main clade's dynamics
sample2

Takes samples in the usual manner
bd_ML

Maximization of the loglikelihood under the diversity-independent, possibly time-dependent diversification model
bd_loglik

Loglikelihood for diversity-independent diversification model
L2brts

Function to convert a table with speciation and extinction events to a set of branching times
L2phylo

Function to convert a table with speciation and extinction events to a phylogeny
dd_KI_loglik

Loglikelihood for diversity-dependent diversification models with decoupling of a subclade from a main clade at time t = t_d
DDD-internal

Internal DDD Functions
dd_KI_sim

Function to simulate a key innovation in macro-evolution with the innovative clade decoupling from the diversity-dependent diversification dynamics of the main clade
dd_KI_ML

Maximization of the loglikelihood under a diversity-dependent diversification model with decoupling of a subclade's diversication dynamics from the main clade's dynamics
dd_LR

Bootstrap likelihood ratio test of diversity-dependent diversification model
DDD-package

Diversity Dependent Diversification
dd_SR_ML

Maximization of the loglikelihood under a diversity-dependent diversification model with a shift in the parameters
optimizer

Carries out optimization (finding a minimum)
dd_ML

Maximization of the loglikelihood under a diversity-dependent diversification model
dd_MS_sim

Function to simulate the macro-evolutionary succession process assuming diversity-dependent diversification
dd_SR_sim

Function to simulate the diversity-dependent diversification process with a shift in one or more of the parameters
dd_MS_loglik

Loglikelihood for macro-evolutionary succession under diversity-dependent diversification with the key innovation at time t = t_d
dd_loglik

Loglikelihood for diversity-dependent diversification models
dd_SR_loglik

Loglikelihood for diversity-dependent diversification models with a shift in the parameters at time t = tshift