deleteAttr: Delete the attribute of an individual 'deleteAttr' delete the...

Description Usage Arguments Details Value

View source: R/utils.R

Description

Delete the attribute of an individual deleteAttr delete the attribute of an individual that exits the simulation.

Usage

1
deleteAttr(attrList, ids)

Arguments

attrList

list of attributes of individuals in the simulation

ids

Numeric vector identifying the individuals to delete from the simulation

Details

In the default version of the simulation, individuals exit the simulation if 'active == 0', i.e. if they die.

Value

attrList, list of attributes of individuals remaining in the simulation


grlurton/ImpactSimul documentation built on March 8, 2021, 12:05 a.m.