Report the width of the world
in patch
number.
worldWidth(world)
# S4 method for worldNLR
worldWidth(world)
WorldMatrix
or worldArray
object.
Integer.
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University. Evanston, IL.
w1 <- createWorld()
worldWidth(w1)
#> [1] 33