struc_endSim: Check for some stop conditions.

Description Usage Arguments Details Value See Also

Description

Conditions that are necessary to continue the simulation are checked.

Usage

1
struc_endSim(simcycle = year, break_col_names = "SB_autumn")

Arguments

simcycle

The count of simulation runs. The value is duration ≥ 0.

break_col_names

The names of the columns in dfgenotype, which are the first in the next simulation cycle.

Details

This function combines two conditions to terminate the simulation. The first is the duration that is defined for the simulation. The second is the the number of individuals for the next simulation cycle: when the population is extinct the simulation ends.

Value

logical TRUE if the simulation has to stop.

See Also

struc_saveSimData


PROSPER documentation built on July 2, 2020, 3:25 a.m.