View source: R/DAISIE_sim_min_type2.R
Internal function of the DAISIE simulation
1 2 3 4 5 6 7 8 | DAISIE_sim_min_type2(
time,
M,
pars,
replicates,
prop_type2_pool,
verbose = TRUE
)
|
time |
Numeric defining the 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 |
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:
The elements 6:10 are required only when type 2 species are included or in the rate shift model. |
replicates |
Number of island replicates to be simulated. |
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). For |
verbose |
In simulation and dataprep functions a logical,
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.