getState {ABM}R Documentation

Get the state of the agent

Description

Get the state of the agent

Arguments

agent

an external pointer returned by newAgent

Details

If agent is an R6 object, then we should either use agent$schedule, or use schedule(agent$get, event)

Value

a list holding the state


[Package ABM version 0.4.1 Index]