Report the patches maximum pycor in the world.

maxPycor(world)

# S4 method for worldNLR
maxPycor(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()
maxPycor(w1)
#> [1] 16