multiple.step: Perform multiple steps (generations) for the population

Description Usage Arguments Value

View source: R/model.R

Description

Perform steps generations for a population based on their defined breeding, survival, and crowding parameters and the habitat surface.

Usage

1
2
3
multiple.step(steps = 10, curr.pop, move.table, survive.table, breed.table,
  habitat.surface = NA, crowd.table = NA, crowding.sigma = 0,
  max.dist = 5, track.ids = FALSE, trace.output = TRUE)

Arguments

steps

Number of steps (generations) to excute the model

curr.pop

The current population as a .ppp

move.table

Movement table as defined by movement.table.

survive.table

Survival table as defined by survival.table.

breed.table

Breeding table as defined by breeding.table

habitat.surface

The habitat (probability) surface. See circle.habitat for an example, although this surface could be produced in many ways. The only requirement is that it must cover the entire window associated with the population. This surface is constant over all generations. See multiple.step.habitat for control over a changing habitat for multiple steps.

crowd.table

The crowding table as defined by crowding.table

crowding.sigma

Bandwidth used for density calculation for crowding

max.dist

Maximum distance between breeding parents

track.ids

Do you want to update the individual ids each generation? This is only required if you need to produce a family tree.

trace.output

Show a text-based trace of the model running in the console.

Value

A list containing the population for each generation. The initial population curr.pop is the first element in the list.


pwhigham/spatibm documentation built on Aug. 30, 2019, 1:16 p.m.