Learn R Programming

NetLogoR (version 1.0.5)

worldWidth: World width

Description

Report the width of the world in patch number.

Usage

worldWidth(world)

# S4 method for worldNLR worldWidth(world)

Value

Integer.

Arguments

world

WorldMatrix or worldArray object.

Author

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

Examples

Run this code
w1 <- createWorld()
worldWidth(w1)

Run the code above in your browser using DataLab