Turtle and Observer Command

variance-of-patches [list of commands]

Returns the variance [list of commands] amongst all the patches.

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.

Examples:

variance-of-patches [food] returns the variance of the variable food for all the patches.

Related commands:
variance-of-list variance-of-turtles