Report the height of the world in patch number.

worldHeight(world)

# S4 method for worldNLR
worldHeight(world)

Arguments

world

WorldMatrix or worldArray object.

Value

Integer.

References

Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University. Evanston, IL.

Author

Sarah Bauduin

Examples

w1 <- createWorld()
worldHeight(w1)
#> [1] 33