Report TRUE if a patch exists inside the world's extent, report
FALSE otherwise.
Usage
pExist(world, pxcor, pycor)
# S4 method for worldNLR,numeric,numeric
pExist(world, pxcor, pycor)
Value
Logical.
Arguments
world
WorldMatrix or worldArray object.
pxcor
Integer. Vector of patches pxcor coordinates. Must be of length 1
or of the same length as pycor.
pycor
Integer. Vector of patches pycor coordinates. Must be of length 1
or of the same length as pxcor.
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.