struc_endSim {PROSPER}R Documentation

Check for some stop conditions.

Description

Conditions that are necessary to continue the simulation are checked.

Usage

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

Arguments

simcycle

The count of simulation runs. The value is duration 0\ge 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


[Package PROSPER version 0.3.3 Index]