Report TRUE if a turtle can move the given distance without leaving
the world's extent, report FALSE otherwise.
Usage
canMove(world, turtles, dist)
# S4 method for worldNLR,agentMatrix,numeric
canMove(world, turtles, dist)
Value
Logical. Vector of length turtles.
Arguments
world
WorldMatrix or worldArray object.
turtles
AgentMatrix object representing the moving agents.
dist
Numeric. Vector of distances to move. Must
be of length 1 or of length turtles.
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.