MetaSim(Time = 50, NSims = 1, method = "hanski", ci = 0.25, e = 0.25, phi = 0.75, p0 = 0.5, D = 0.5)
Time
.Time
by NSims
matrix of observed population sizes.phi
is one half of the relative range of each rate (colonization and extinction). For each time step, each rate is drawn from a uniform distribution, Unif(rate-phi, rate+phi). Thus, the range is 2*phi, and center on the specified mean (ci or e).gotelli
, hanski
,levins
, MetaSim
clogistic
out <- MetaSim(NSims=2)
pops <- out$Ns
matplot(out$t, pops, type='l')
title(sub=paste(out$method, "model"))
Run the code above in your browser using DataLab