powered by
World
Report the width of the world in patch number.
world
patch
worldWidth(world)# S4 method for worldNLR worldWidth(world)
# S4 method for worldNLR worldWidth(world)
WorldMatrix or worldArray object.
WorldMatrix
worldArray
Integer.
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#world-dim
# NOT RUN { w1 <- createWorld() worldWidth(w1) # }
Run the code above in your browser using DataLab