Description Usage Arguments Value Author(s) Examples
Simulate multiple neutral communities with a variable birthrate (VBN) saving specific timepoints and also saving the output matrix for every simulation
1 2 | multisimbvarSPEC(tmax, b1, d1, k1, bneck, kneckstart, kneckend,
abun_original, nsim, interval, wantedtimes)
|
tmax |
Arbitrary units of time the simulation should be run |
b1 |
Normal birthrate |
d1 |
Deathrate |
k1 |
Carrying capacity |
bneck |
Birthrate during the bottleneck |
kneckstart |
Timepoint at which the bottleneck starts |
kneckend |
Timepoint at which the bottleneck ends |
abun_original |
A vector of initial abundances for each species such as those created by generate_spat_abund |
nsim |
number of simulations that should be performed |
interval |
After how many evenst should the population state be saved to the output matrix |
wantedtimes |
Specific timepoints for which the RAC is to be plotted |
this function plots the RAC of the simulations for the times specified in Wantedtimes as .tiff files in the current working directory also writes a .csv file outputting the poplation matrix for every simulation performed
Timo van Eldijk
1 2 3 | multisimbvarSPEC(10, 0.6, 0.1, 16000, 0.05, 0, 5,
generate_spat_abund (theta = 200,Ivec = rep(40,1),Jvec = c(16000)),2,
200, c(15,30,50,75,100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.