Description Usage Arguments Value
View source: R/default_params_doc.R
Defailt parameter documentation
1 2 3 4 5 6 7 | default_params_doc(datalist, datatype, initparsopt, idparsopt, parsfix,
idparsfix, idparsnoshift, idparsmat, res, ddmodel, cond, island_ontogeny,
eqmodel, x_E, x_I, tol, maxiter, methode, optimmethod, CS_version,
verbose, tolint, time, M, pars, replicates, mainland_params, divdepmodel,
prop_type2_pool, replicates_apply_type2, sample_freq, ddmodel_sim,
island_type, nonoceanic, plot_sims, Apars, Epars, Tpars,
keep_final_state, stored_data, island_replicates)
|
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. |
datatype |
Sets the type of data: 'single' for a single island or archipelago treated as one, and 'multiple' for multiple archipelagoes potentially sharing the same parameters |
initparsopt |
The initial values of the parameters that must be optimized |
idparsopt |
The ids of the parameters that must be optimized. The ids
are defined as follows: |
parsfix |
The values of the parameters that should not be optimized |
idparsfix |
The ids of the parameters that should not be optimized, e.g. c(1,3) if lambda^c and K should not be optimized. |
idparsnoshift |
For datatype = 'single' only: The ids of the parameters that should not be different between two groups of species; This can only apply to ids 6:10, e.g. idparsnoshift = c(6,7) means that lambda^c and mu have the same values for both groups |
idparsmat |
For datatype = 'multiple' only: Matrix containing the ids
of the parameters, linking them to initparsopt and parsfix. Per island
system we use the following order: |
res |
Sets the maximum number of species for which a probability must be computed, must be larger than the size of the largest clade |
ddmodel |
Sets the model of diversity-dependence: |
cond |
cond = 0 : conditioning on island age |
island_ontogeny |
type of island ontonogeny. A string describing the
type of island ontogeny. If NA, then constant ontogeny is assumed.Can
be |
eqmodel |
Sets the equilibrium constraint that can be used during the
likelihood optimization. Only available for datatype = 'single'. |
x_E |
Sets the fraction of the equlibrium endemic diversity above which the endemics are assumed to be in equilibrium; only active for eqmodel = 13 or 15 |
x_I |
Sets the fraction of the equlibrium non-endemic diversity above which the system is assumed to be in equilibrium; only active for eqmodel = 15 |
tol |
Sets the tolerances in the optimization. Consists of: |
maxiter |
Sets the maximum number of iterations in the optimization |
methode |
Method of the ODE-solver. See package deSolve for details. Default is "lsodes" |
optimmethod |
Method used in likelihood optimization. Default is "subplex" (see subplex package). Alternative is 'simplex' which was the method in previous versions. |
CS_version |
For internal testing purposes only. Default is 1, the original DAISIE code. |
verbose |
sets whether parameters and likelihood should be printed (1) or not (0) |
tolint |
Vector of two elements containing the absolute and relative tolerance of the integration |
time |
Length of the simulation in time units. For examples, if an island is known to be 4 million years old, setting time = 4 will simulate the entire life span of the island; setting time = 2 will stop the simulation at the mid-life of the island. |
M |
The size of mainland pool, i.e. the number of species that can potentially colonize the island. |
pars |
Contains the model parameters: |
replicates |
Number of island replicates to be simulated. |
mainland_params |
mainland_params parameters for simulation mainland processes. If NULL, the mainland is assumed to be static, following the assumptions of Valente et al., 2015. |
divdepmodel |
Option divdepmodel = 'CS' runs a model with clade-specific carrying capacity, where diversity-dependence operates only within single clades, i.e. only among species originating from the same mainland colonist. Option divdepmodel = 'IW' runs a model with island-wide carrying capacity, where diversity-dependence operates within and among clades. |
prop_type2_pool |
Fraction of mainland species that belongs to the second subset of species (type 2). Applies only when two types of species are simulated (length(pars) = 10). |
replicates_apply_type2 |
Applies only when two types of species are being simulated. Default replicates_apply_type2 = TRUE runs simulations until the number of islands where a type 2 species has colonised is equal to the specified number of replicates. This is recommended if prop_type2_pool is small of if the rate of immigration of type two species (pars[9]) is low, meaning that more replicates are needed to achieved an adequate sample size of islands with type 2 species. Setting replicates_apply_type2 = FALSE simulates islands up to the specified number of replicates regardless of whether type 2 species have colonised or not. |
sample_freq |
Specifies the number of units times should be divided by for plotting purposes. Larger values will lead to plots with higher resolution, but will also run slower. |
ddmodel_sim |
A numeric which sets the model of diversity-depedence when running simulations. |
island_type |
oceanic or non-oceanic island |
nonoceanic |
parameters for non-oceanic island model |
plot_sims |
Default = TRUE plots species-through-time (STT) plots. |
Apars |
A numeric vector:
|
Epars |
A numeric vector:
|
Tpars |
A named list containing diversification rates considering two trait states:
|
keep_final_state |
logical indicating if final state of simulation
should be returned. Default is |
stored_data |
output of DAISIE_sim function when run with
keep_final_state. If not |
island_replicates |
Island replicates in DAISIE format (produced in
|
Nothing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.