Create n turtles at the center of the world with their headings evenly
distributed.
createOTurtles(n, world, breed, color)
# S4 method for numeric
createOTurtles(n, world, breed, color)Integer.
WorldMatrix or worldArray object.
Character. Vector of breed names. Must be of length 1 or of length
n. If missing, breed = "turtle" for all turtles.
Character. Vector of color names. Must be of length n.
If missing, colors are assigned using the function rainbow(n).
AgentMatrix object of length n with data for the
turtles being: xcor, ycor, who, heading, prevX, prevY, breed,
and color.
The identity of the turtles is defined by their who number. This
numbering starts at 0 and increments by 1.
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University. Evanston, IL.