newAgent {ABM} | R Documentation |
Create an agent with a given state
Description
Create an agent with a given state
Arguments
state |
a list giving the initial state of the agent, or NULL (an empty list) |
death_time |
the death time for the agent, an optional numeric value. |
Details
Setting death_time is equivalent to calling the setDeathTime()
function.
Value
an external pointer pointing to the agent
[Package ABM version 0.4.1 Index]