NetLogo Help: median

### median1.0

#### median list

Reports the statistical median of the numeric items of the given list. Ignores non-numeric items. The median is the item that would be in the middle if all the items were arranged in order. (If two items would be in the middle, the median is the average of the two.)

    show median [xcor] of turtles
    ;; prints the median of all the turtles' x coordinates

Take me to the full NetLogo Dictionary