Turtle and Observer Command

variance-of-list list

Returns the variance of the given list.

Note: If list contains no numbers, an error occurs. If some of the list, when evaluated, are not numbers, those values are ignored.

Examples:

variance-of-list [1 3 5] returns 2.666.

Related commands:
variance-of-patches variance-of-turtles