# S4 method for agentMatrix,character,missing
turtlesOwn(turtles, tVar)
# S4 method for agentMatrix,character,ANY
turtlesOwn(turtles, tVar, tVal)
Value
AgentMatrix representing the turtles with the new
variable tVar added.
Arguments
turtles
AgentMatrix object representing the moving agents.
tVar
Character. the name of the turtles variable to create.
tVal
Vector representing the values of tVar.
Must be of length 1 or of length turtles.
If missing, NA is given.
Author
Sarah Bauduin
References
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/.
Center for Connected Learning and Computer-Based Modeling,
Northwestern University. Evanston, IL.