simUntb | R Documentation |
This function just provides a wrapper around the untb function in the untb package.
simUntb(N, y = rep(1, N), m = 0.02, tskip = 0, tend = 5000)
N |
number of species |
y |
initial abundances |
m |
migration probability between 0 and 1 |
tskip |
number of initial time points to be skipped when returning the result (to avoid the transient) |
tend |
number of time points (i.e. the number of generations) |
a matrix with species abundances as rows and time points as columns
ricker
for the Ricker model and glv
for the generalized Lotka Volterra model
N=50 y=generateAbundances(N, mode=5) tsplot(simUntb(N,y=y,tend=1000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.