Turtle, Observer, Patch

variance-of-turtles [list of commands]

Parameters:
[list of commands] List of turtle commands A list of commands for the turtles to run which returns a number

Description:
Returns the numerical variance of the [list of commands] when evaluated across all the turtles.

Examples:
variance-of-turtles [speed] returns the variance of the speeds of all the turtles.

Notes:
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.

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

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