DAISIE_loglik_CS | R Documentation |
Computes the loglikelihood of the DAISIE model with clade-specific diversity-dependence given colonization and branching times for lineages on an island, and a set of model parameters. The output is a loglikelihood value
DAISIE_loglik_CS(
pars1,
pars2,
datalist,
methode = "lsodes",
CS_version = 1,
abstolint = 1e-16,
reltolint = 1e-10
)
pars1 |
Contains the model parameters: |
pars2 |
Contains the model settings |
datalist |
Data object containing information on colonisation and
branching times. This object can be generated using the DAISIE_dataprep
function, which converts a user-specified data table into a data object, but
the object can of course also be entered directly. It is an R list object
with the following elements. |
methode |
Method of the ODE-solver. See package deSolve for details. Default is "lsodes" |
CS_version |
a numeric or list. Default is 1 for the standard DAISIE model, for a relaxed-rate model a list with the following elements:
|
abstolint |
Absolute tolerance of the integration |
reltolint |
Relative tolerance of the integration |
The loglikelihood
Rampal S. Etienne & Bart Haegeman
Valente, L.M., A.B. Phillimore and R.S. Etienne (2015). Equilibrium and non-equilibrium dynamics simultaneously operate in the Galapagos islands. Ecology Letters 18: 844-852.
DAISIE_ML
, DAISIE_sim_cr
,
DAISIE_sim_time_dep
,
DAISIE_sim_cr_shift
utils::data(Galapagos_datalist_2types)
pars1 = c(0.195442017,0.087959583,Inf,0.002247364,0.873605049,
3755.202241,8.909285094,14.99999923,0.002247364,0.873605049,0.163)
pars2 = c(100,11,0,1)
DAISIE_loglik_all(pars1,pars2,Galapagos_datalist_2types)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.