Report an empty turtle agentset.

noTurtles()

Value

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

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

t1 <- noTurtles() NLcount(t1)
#> [1] 0