Difference between revisions of "Mode Command"
From GeoGebra Manual
m (1 revision: tt => code) |
|||
Line 2: | Line 2: | ||
{{command|statistics}} | {{command|statistics}} | ||
; Mode[List of Numbers]: Determines the mode(s) of the list elements. | ; Mode[List of Numbers]: Determines the mode(s) of the list elements. | ||
− | : {{Example| | + | : {{Example|1=<br/> |
:* <code>Mode[{1,2,3,4}]</code> returns an empty list ''{}''. | :* <code>Mode[{1,2,3,4}]</code> returns an empty list ''{}''. | ||
:* <code>Mode[{1,1,1,2,3,4}]</code> returns the list ''{1}'' . | :* <code>Mode[{1,1,1,2,3,4}]</code> returns the list ''{1}'' . | ||
:* <code>Mode[{1,1,2,2,3,3,4}]</code> returns the list ''{1, 2, 3}''.}} | :* <code>Mode[{1,1,2,2,3,3,4}]</code> returns the list ''{1, 2, 3}''.}} |
Revision as of 14:03, 18 April 2011
- Mode[List of Numbers]
- Determines the mode(s) of the list elements.
- Example:
Mode[{1,2,3,4}]
returns an empty list {}.Mode[{1,1,1,2,3,4}]
returns the list {1} .Mode[{1,1,2,2,3,3,4}]
returns the list {1, 2, 3}.