View source: R/setup_std_pars2.R
setup_std_pars2 | R Documentation |
Returns the pars2 vector needed for the most simple DAISIE_ML_CS()
runs,
to facilitate computing the loglikelihood in these cases. This function
should only be assumed correct for the LL setup of the CS model, 1 type,
constant rate no equilibrium models. Tolerances and other technical
parameters need not be specified, as the returned values match the default
values of DAISIE::DAISIE_ML()
. The only arguments without default values
are ddmodel
and cond
, as these are most often varied when checking model
output. Regardless, all other default parameter values can be forced to
meet specific needs of more complex models.
setup_std_pars2(
res = 100,
ddmodel = 11,
cond = 0,
verbose = 0,
island_ontogeny = NA,
eqmodel = 0,
tol = c(1e-04, 1e-05, 1e-07),
maxiter = 1000 * round((1.25)^5),
x_E = 0.95,
x_I = 0.98
)
res |
A numeric determining the resolution of the likelihood calculations, it sets the limit for the maximum number of species for which a probability must be computed, which must be larger than the size of the largest clade. |
ddmodel |
Sets the model of diversity-dependence:
|
cond |
An integer specifying conditioning, as described in
|
verbose |
In simulation and dataprep functions a logical,
|
island_ontogeny |
In |
eqmodel |
Sets the equilibrium constraint that can be used during the
likelihood optimization. Only available for datatype = 'single'. |
tol |
Sets the tolerances in the optimization. Consists of:
|
maxiter |
Sets the maximum number of iterations in the optimization. |
x_E |
Sets the fraction of the equlibrium endemic diversity above which
the endemics are assumed to be in equilibrium; only active for
|
x_I |
Sets the fraction of the equlibrium non-endemic diversity above
which the system is assumed to be in equilibrium; only active for
|
A numeric vector of length 12 containing pars2 for
DAISIE::DAISIE_ML()
Pedro Santos Neves
std_pars2 <- setup_std_pars2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.