This function is used to prepare the parameters in a useful format and avoid lengthy code for every simulation. It will output all parameters in a list ready for the main_sim_fx()
1 2 3 4 5 6 7 8 9 10 11 12 13 |
N |
number of patches for the simulation |
D |
number of environmental variables simulated |
R |
number of species for the simulation |
nicheOpt |
vector with niche optima for each species. Default is range equally divided among species. |
breadth |
niche breadth. As reference 0.8 as narrow and 2 as broad with a quadratic response. |
alpha |
dispersal parameter associated to an exponential distribution |
makeRDS |
whether to save the output as an RDS file |
whereToSave |
file path to save output |
objName |
name for the output |
interex_col |
Species sensitivity to interactions. For our simulations, sensitivity is set the same for all species, and both for colonization and extinction |
interex_ext |
Species sensitivity to interactions. For our simulations, sensitivity is set the same for all species, and both for colonization and extinction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.