Works for all objects that have an id-slot, such as all extensions of
object-class, the agent-class,
and the goal-class.
Usage
id(object)
id(object) <- value
# S4 method for class 'object'
id(object)
# S4 method for class 'object'
id(object) <- value
# S4 method for class 'goal'
id(object)
# S4 method for class 'goal'
id(object) <- value
# S4 method for class 'agent'
id(object)
# S4 method for class 'agent'
id(object) <- value
# S4 method for class 'predped'
id(object)
# S4 method for class 'predped'
id(object) <- valueArguments
- object
An instance of the
object-class,agent-class, orgoal-class.- value
Value with which to replace the original value of the
idslot.
Details
Note that while the agent-class,
circle-class,
polygon-class,
rectangle-class, and
segment-class are not explicitly mentioned, this
getter/setter works for these classes as well.#'