mode-of-breed
[list of commands]
Parameters:
[list of commands] |
List of commands |
list of commands that evaluate to a number |
Description:
Returns the mode of the [list of commands] when evaluated across all the turtles of breed specified by breed.
Examples:
mode-of-frogs [speed]
returns the mode of the speed of all the turtles of breed frogs.
Notes:
Note: If [list of commands] contains no numbers, an error occurs. If some of the [list of commands], when evaluated, are not numbers, those values are ignored.
Note: If [list of commands] contains no numbers, an error occurs. If some of the [list of commands], when evaluated, are not numbers, those values are ignored.
Note: 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-with
mode-of-turtles
sdev-of-breed
sum-of-breed
variance-of-breed