Turtle and Observer Command
median-of-patches `[list of commands]` Returns the median of the [list of commands] when [list of commands] is evaluated by all 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: `median-of-patches [color]` returns a number corresponding to the median of the colors of all patches. Related commands: median-of-patches-with median-of-frogs median-of-list median-of-turtles average-of-patches variance-of-patches