die(turtles, who) # S4 method for agentMatrix,numeric die(turtles, who)
Integer. Vector of the
AgentMatrix representing the
turtles with the selected
who numbers of the remaining
turtles are unchanged.
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University. Evanston, IL.
w1 <- createWorld(minPxcor = 0, maxPxcor = 4, minPycor = 0, maxPycor = 4) t1 <- createTurtles(n = 10, world = w1) NLcount(t1)#>  10#>  7