Difference between revisions of "Mode Command"
From GeoGebra Manual
m (1 revision) |
(added v.4 - example formatting) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | + | <noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> |
{{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| |
:* <tt>Mode[{1,2,3,4}]</tt> returns an empty list ''{}''. | :* <tt>Mode[{1,2,3,4}]</tt> returns an empty list ''{}''. | ||
:* <tt>Mode[{1,1,1,2,3,4}]</tt> returns the list ''{1}'' . | :* <tt>Mode[{1,1,1,2,3,4}]</tt> returns the list ''{1}'' . | ||
− | :* <tt>Mode[{1,1,2,2,3,3,4}]</tt> returns the list ''{1, 2, 3}''. | + | :* <tt>Mode[{1,1,2,2,3,3,4}]</tt> returns the list ''{1, 2, 3}''.}} |
Revision as of 11:21, 14 February 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}.