Description Usage Arguments Value Examples
Generate time-series with the self-organised instability (SOI) model. Implements a K-leap method for accelerating stochastic simulation.
1 2 3 4 5 6 7 8 9 10 11 |
N |
number of species |
I |
community size, number of available sites (individuals) |
A |
interaction matrix of dimension NxN |
migr_rates |
species-specific immigration probabilities (also determine initial abundances) |
death_rates |
species-specific extinction probabilities |
com |
Initial community abundances vector. If NULL (default), based on migration rates. |
tend |
number of timepoints to be returned in the time series (nr of generations) |
k |
the number of transition events that are allowed to take place during one leap. By default set to 5. Higher values reduce runtime, but also accuracy of the simulation. |
norm |
logical to indicate whether the time series should be returned with the abundances as proportions (norm = TRUE) or the raw counts (norm = FALSE, default) |
matrix with species abundances as rows and time points as columns
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.