worldWidth: 'World' width

worldWidthR Documentation

World width

Description

Report the width of the world in patch number.

Usage

worldWidth(world)

## S4 method for signature 'worldNLR'
worldWidth(world)

Arguments

world

WorldMatrix or worldArray object.

Value

Integer.

Author(s)

Sarah Bauduin

References

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

See Also

https://ccl.northwestern.edu/netlogo/docs/dictionary.html#world-dim

Examples

w1 <- createWorld()
worldWidth(w1)



NetLogoR documentation built on Aug. 17, 2022, 9:06 a.m.