Helper function to construct instances of <DriverResponse> objects,
defining per-agent responses to a specific environmental or man-made
"driver", as declared in an associated object of class <Driver>.
Usage
DriverResponse(
driver_id = NA_character_,
movement = MoveInfluence(),
states = list(),
condition = NA_character_
)Arguments
- driver_id
character string, the unique identifier of the driver. It must match the
@idvalue in the concomitant <Driver> object. Unmatched IDs will trigger an error during model initialization.- movement
an object of class <
MoveInfluence>, specifying how the driver influences the agent's movement- states
a list of <
StateInfluence> objects, listing the influence of the driver in the agent's states.- condition
a character string (feature under development). Reserved for specifying additional effects of the driver on agent condition.
