newAgent | R Documentation |
Create an agent with a given state
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. |
Setting death_time is equivalent to calling the setDeathTime()
function.
an external pointer pointing to the agent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.