Reports the statistical mean of the numeric items in the given list. Ignores non-numeric items. The mean is the average, i.e., the sum of the items divided by the total number of items.
show mean [xcor] of turtles ;; prints the average of all the turtles' x coordinates
Take me to the full NetLogo Dictionary