SimulationComponents: Code components to simulate a landscape

Description Usage Arguments Details See Also

Description

These functions can be used to construct custom simulations of landscapes. Each conducts only a single generations worth of change

Usage

1
2
3
4
5
   landscape.advance(Rland, seed = -1)
   landscape.carry(Rland, seed = -1)
   landscape.extinct(Rland, seed = -1)
   landscape.reproduce(Rland, seed = -1)
   landscape.survive(Rland, seed = -1)

Arguments

Rland

the Rmetasim landscape object

seed

seed for random number generator

Details

landscape.advance() 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 landscape.simulate() bundles the functionality of these components into a single function (and executes it slightly faster all within linked C++ code).

See Also

landscape.simulate


rmetasim documentation built on Feb. 8, 2020, 1:06 a.m.