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