average-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 average of the [list of commands] when evaluated across all the patches.
Examples:
average-of-patches [pc]
returns the average 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-breed
median-of-patches
min-of-patches
mode-of-patches
sum-of-patches
variance-of-patches