unschedule {ABM} | R Documentation |
Unschedule (detach) an event from an agent
Description
Unschedule (detach) an event from an agent
Arguments
agent |
an external pointer returned by newAgent |
event |
an external pointer returned by newEvent |
Details
If agent is an R6 object, then we should use either agent$unschedule(event) or unschedule(agent$get, event)
Similarly, if event is an R6 object, then we should use unschedule(agent, event$get)
[Package ABM version 0.4.1 Index]