inspect | R Documentation |
turtles
Display all variables values for the selected individuals among the turtles
.
inspect(turtles, who)
## S4 method for signature 'agentMatrix,numeric'
inspect(turtles, who)
turtles |
|
who |
Integer. Vector of the |
Dataframe
(nrow
= length(who)
) of the variables of the selected
individuals among the turtles
.
Sarah Bauduin
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University. Evanston, IL.
https://ccl.northwestern.edu/netlogo/docs/dictionary.html#inspect
w1 <- createWorld(minPxcor = 0, maxPxcor = 9, minPycor = 0, maxPycor = 9)
t1 <- createOTurtles(world = w1, n = 10)
inspect(turtles = t1, who = c(2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.