Description Usage Arguments Details Value
Delete the attribute of an individual
deleteAttr
delete the attribute of an individual that exits the simulation.
1 | deleteAttr(attrList, ids)
|
attrList |
list of attributes of individuals in the simulation |
ids |
Numeric vector identifying the individuals to delete from the simulation |
In the default version of the simulation, individuals exit the simulation if 'active == 0', i.e. if they die.
attrList, list of attributes of individuals remaining in the simulation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.