R: Fit Density Dependent Speciation Model to Branching Times
Fit Density Dependent Speciation Model to Branching Times
Functions that fit density-dependent speciation rate models to branching times
derived from phylogenetic data. DDX and DDL fit exponential and logistic
variants of the density-dependent speciation rate model.
a numeric vector of branching times
DDX models the speciation rate as a function of the number of extant
lineages at any point in time, r(t) = r0 * (Nt ^ (-x)), where r0 is the initial speciation
rate, Nt is the number of lineages at some time t, and x is a parameter controlling the magnitude of the
DDL models the speciation rate as r(t) = r0 * (1 - Nt / K), where r0 is the initial speciation
rate, Nt is the number of extant lineages at some time t, and K is analogous to the 'carrying capacity'
parameter of population ecology.
a list with the following components:
The log-likelihood at the maximum
the Akaike Information Criterion
the initial speciation rate
the K parameter in the logistic density dependent model
the x parameter in the density-dependent exponetial model