View source: R/DAISIE_sim_time_dep_gw.R
DAISIE_sim_time_dep_gw | R Documentation |
Simulates island replicates with an guild-wide (GW) diversity-dependent time-dependent process
DAISIE_sim_time_dep_gw(
total_time,
M,
pars,
replicates,
area_pars,
hyper_pars,
nonoceanic_pars,
num_guilds,
sample_freq,
island_ontogeny,
sea_level,
peak,
Amax,
Amin,
extcutoff,
verbose
)
total_time |
Numeric defining the length of the simulation in time units. |
M |
Numeric defining the size of mainland pool, i.e. the number of species that can potentially colonize the island. |
pars |
A numeric vector containing the model parameters:
Elements 6:10 are required only when type 2 species are included
or in the rate shift model. For |
replicates |
Integer specifying number of island replicates to be simulated. |
area_pars |
A named list containing area and sea level parameters as
created by
|
hyper_pars |
A named list of numeric hyperparameters for the rate
calculations as returned by
|
nonoceanic_pars |
A vector of length two with:
|
num_guilds |
The number of guilds on the mainland. The number of
mainland species is divided by the number of guilds when
|
sample_freq |
Numeric specifing 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. |
island_ontogeny |
In |
sea_level |
In |
peak |
A numeric value specifying the peakiness (or shaprness) of the
ontogeny curve. Higher values imply peakier ontogeny. This value is
internally calculated by |
Amax |
A numeric value for maximum island area during the simulation. |
Amin |
A numeric value for minimum island area during the simulation. |
extcutoff |
A numeric with the cutoff for the the maximum extinction rate preventing it from being too large and slowing down simulation. |
verbose |
A numeric vector of length 1, which in simulations and 'DAISIEdataprep()' can be '1' or '0', where '1' gives intermediate output should be printed. For ML functions a numeric determining if intermediate output should be printed. The default: '0' does not print, '1' prints the initial likelihood and the settings that were selected (which parameters are to be optimised, fixed or shifted), '2' prints the same as '1 and also the intermediate output of the parameters and loglikelihood, while '3' the same as '2' and prints intermediate progress during likelihood computation. |
A list. The highest level of the least corresponds to each individual replicate. See return for 'DAISIE_sim_time_dep()' for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.