Report the coordinates of the patches under the turtles
locations.
Usage
patchHere(world, turtles)
# S4 method for worldNLR,agentMatrix
patchHere(world, turtles)
Arguments
world
WorldMatrix or worldArray object.
turtles
AgentMatrix object representing the moving agents.
Value
Matrix (ncol = 2) with the first column pxcor and the second column
pycor representing the coordinates of the patches at the turtles
location. The order of the patches follows the order of the turtles.
Details
If a turtle is located outside of the world's extent,
NA are returned
for the patch coordinates.
References
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/.
Center for Connected Learning and Computer-Based Modeling,
Northwestern University. Evanston, IL.