resetActivity: resetActivity Generic

Description Usage Arguments Methods (by class)

Description

Generic function to reset the activity of an object of class Agent.

Usage

1
2
3
4
5
6
7
resetActivity(object, value)

## S4 method for signature 'Agent,logical'
resetActivity(object, value)

## S4 method for signature 'Agent,numeric'
resetActivity(object, value)

Arguments

object

An object of class Agent

value

Possible values:

  • a length-one logical vector to reset the active slot of the Agent-class object.

  • a numerical vector of length 2 to reset the velocity in the x- and y-direction of the object of class Agent.

Methods (by class)


mverouden/rsfour documentation built on May 25, 2019, 5:01 a.m.