powered by
World
Report the height of the world in patch number.
world
patch
worldHeight(world)# S4 method for worldNLR worldHeight(world)
# S4 method for worldNLR worldHeight(world)
Integer.
WorldMatrix or worldArray object.
WorldMatrix
worldArray
Sarah Bauduin
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
w1 <- createWorld() worldHeight(w1)
Run the code above in your browser using DataLab