schedule | R Documentation |
Schedule (attach) an event to an agent
agent |
an external pointer returned by newAgent |
event |
an external pointer returned by newEvent |
If agent is an R6 object, then we should use either agent$schedule(event) or schedule(agent$get, event)
Similarly, if event is an R6 object, then we should use schedule(agent, event$get)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.