Components of Simulations {rmetasim} | R Documentation |
These functions can be used to construct custom simulations of landscapes. Each conducts only a single generations worth of change
rland <- advance.landscape(rland=l) rland <- carry.landscape(rland=l) rland <- extinct.landscape(rland=l) rland <- reproduce.landscape(rland=l) rland <- survive.landscape(rland=l)
rland |
the Rmetasim landscape object |
advance.landscape()
merely advances the generation counter and selects
the new generations demographic conditions if such conditions can
vary. The other functions implement carrying capacity, local
extinction, reproduction, and survival/growth, respectively. The
function sim.landscape()
bundles the functionality of these
components into a single function.
sim.landscape
exampleland <- new.example.landscape() exampleland <- sim.landscape(exampleland, 4) exampleland rm(exampleland)