multiple.step.habitat: 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. The habitat.list defines a list of habitats with a N(m,sd) for each habitat used to determine the duration this habitat is observed. A list of these habitat,N(m,sd) structures defines the temporal pattern of change, and the order of change. i.e. a list of ( (H1,N1,(H2,N2), ...) defines an ordering of habitat surface. The N(m,sd) is used to determine the time period before moving from Hi to H(i+1). In addition, there is an implied cycling behavior since when the final (H,N(m,sd)) pattern is used, the next habitat is (H1,N1).

Usage

1
2
3
multiple.step.habitat(steps = 10, curr.pop, move.table, survive.table,
  breed.table, habitat.list, crowd.table, crowding.sigma = 1, max.dist = 5,
  track.ids = TRUE, 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.list

The list of habitats (probability) surfaces with associated N(m,sd).

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.