NetLogo Help: modes

### modes2.0

#### modes list

Reports a list of the most common item or items in list.

The input list may contain any NetLogo values.

If the input is an empty list, reports an empty list.

    show modes [1 2 2 3 4]
    => [2]
    show modes [1 2 2 3 3 4]
    => [2 3]
    show modes [ [1 2 [3]] [1 2 [3]] [2 3 4] ]
    => [[1 2 [3]]]
    show modes [pxcor] of turtles
    ;; shows which columns of patches have the most
    ;; turtles on them

Take me to the full NetLogo Dictionary