Arguments

Integer. Vector of length 1 or of length who. Number of new turtles
to create for each parent.

breed

Character. One breed name. If missing,
the created turtles are of the same breed as their parent turtle.

Value

AgentMatrix representing the turtles with the new
hatched ones.

Details

The parent turtle must be contained in the turtles.

The created turtles inherit of all the data from the parent turtle,
except for the breed if specified otherwise, and for the who numbers.
The who" numbers of the turtles created take on following the highest
who number among the turtles.

All new hatched turtles are placed at the end of the agentMatrix object.