worldWidth {NetLogoR}R 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)


[Package NetLogoR version 1.0.5 Index]