subset-Agent-character-method: Replace-method for slots

Description Usage Arguments

Description

Replace values of slots in an object of class Agent by name

Usage

1
2
## S4 replacement method for signature 'Agent,character'
x[i] <- value

Arguments

x

object of class "Agent"

i

character, describing the slotname to be replace with a value

value

ANY, value for the slotname specified by i to be replaced


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