sdev-of-breed-with
[first list of commands] [second list of commands]
Parameters:
[first list of commands] |
List of commands |
|
[second list of commands] |
List of commands |
|
Description:
Returns the standard deviation of the [second list of commands] when evaluated across all the turtles of breed frogs that satisfy the conditions (must return a boolean of true or false) specified by the [first list of commands].
Examples:
sdev-of-frogs-with [color = red] [speed]
returns the standard deviation of the speed of all the red turtles of breed frogs.
Notes:
If [second list of commands] contains no numbers, an error occurs. If some of the [second list of commands], when evaluated, are not numbers, those values are ignored.
When a turtle calls the command, it is not included as part of the calculation.
Related Commands:
max-of-breed-with
median-of-breed-with
min-of-breed-with
mode-of-breed-with
sdev-of-breed
sdev-of-turtles-with
sum-of-breed-with
variance-of-breed-with