View source: R/DAISIE_sim_core_cr_shift.R
DAISIE_sim_core_cr_shift | R Documentation |
Internal function of the DAISIE simulation
DAISIE_sim_core_cr_shift(
time,
mainland_n,
pars,
nonoceanic_pars = c(0, 0),
hyper_pars = NULL,
area_pars = NULL,
shift_times
)
time |
Numeric defining the length of the simulation in time units. For example, 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. |
mainland_n |
A numeric stating the number of mainland species, that is the number of species that can potentially colonize the island. If using a clade-specific diversity dependence, this value is set to 1. If using an island-wide diversity dependence, this value is set to the number of mainland species. |
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 |
nonoceanic_pars |
A vector of length two with:
|
hyper_pars |
A named list of numeric hyperparameters for the rate
calculations as returned by
|
area_pars |
A named list containing area and sea level parameters as
created by
|
shift_times |
a numeric vector specifying when the rate shifts occur before the present. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.