Description Usage Arguments Details Value Author(s) References See Also Examples
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 that may shift at some time
1 2 3 | DAISIE_SR_loglik_CS(pars1, pars2, datalist, methode = "lsodes",
CS_version = 1, abstolint = 1e-16, reltolint = 1e-10,
verbose = FALSE)
|
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 |
For internal testing purposes only. Default is 1, the original DAISIE code. |
abstolint |
Absolute tolerance of the integration |
reltolint |
Relative tolerance of the integration |
verbose |
Logical controling if progress is printed to console. |
The output is a loglikelihood value
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.
1 2 3 4 5 | 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.