Components of Simulations {rmetasim}R Documentation

Code components to simulate a landscape

Description

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

Usage

  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)

Arguments

rland the Rmetasim landscape object

Details

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.

See Also

sim.landscape

Examples

  exampleland <- new.example.landscape()
  exampleland <- sim.landscape(exampleland, 4)
  exampleland
  rm(exampleland)

[Package rmetasim version 1.0.8 Index]