Turtle, Observer, Patch

sum-of-breed [list-of-commands]

Parameters:
[list-of-commands] List of commands list of commands that return a number

Description:
Reports the sum of [list-of-commands] for all the turtles of the breed specified.

Examples:
sum-of-frogs [weight] returns the sum of all the frogs' weights.

sum-of-cars [speed] returns the sum of all the cars' weights.

Notes:
When a turtle calls the command, it is not included as part of the calculation.

Related Commands:
average-of-breed max-of-breed median-of-breed min-of-breed mode-of-breed sdev-of-breed sum-of-breed-with sum-of-turtles variance-of-breed