Turtle, Observer, Patch

variance-of-patches [list of commands]

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

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

Examples:
variance-of-patches [pc] returns the variance of the patch color of all of the patches.

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.

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