timeStep: Simulate One Time Step

Description Usage Arguments Value

View source: R/timeSteps.R

Description

Cycle through each step of the model. Each time step could be one "year" or one "generation", but ultimately it runs through each part of the life cycle. The various management techniques can optionally be added to the model between any two of the required steps. reproduction -> dispersal -> mortality -> competition

Usage

1
timeStep(n, P, X, N, t, manage)

Arguments

n

Initial population sizes. SxLxW array of population nonnegative integers.

P

List of biotic variables. See commSetup.

X

List of abiotic variables. See commSetup.

N

Population size over time

t

Current time

manage

A list with a bunch of management options. See manageSetup. If left blank, the model generates a list where all management options are set to FALSE.

Value

SxLxW array of population sizes at the end of the time step


gabackus/rcomms documentation built on Nov. 4, 2019, 1 p.m.