Learn R Programming

NetLogoR (version 0.3.9)

noTurtles: No turtles

Description

Report an empty turtle agentset.

Usage

noTurtles()

Arguments

Value

AgentMatrix with the turtle variables defined as when using createTurtles() but with 0 turtle.

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#no-turtles

Examples

Run this code
# NOT RUN {
t1 <- noTurtles()
NLcount(t1)

# }

Run the code above in your browser using DataLab