glv | R Documentation |
Simulate a community time series using the generalized Lotka-Volterra model, defined as \frac{dx}{dt}=x(b+Ax), where x is the vector of species abundances, A is the interaction matrix and b the vector of growth rates.
glv(N = 4, A, b = runif(N), y = runif(N), tstart = 0, tend = 100, tstep = 0.1, perturb = NULL)
N |
species number |
A |
interaction matrix |
b |
growth rates |
y |
initial abundances |
tstart |
initial time point |
tend |
final time point |
tstep |
time step |
perturb |
perturbation object describing growth changes |
a matrix with species abundances as rows and time points as columns, column names give time points
ricker
for the Ricker model
tsplot(glv(N=4,generateA(4)),header="gLV")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.