Difference between revisions of "Mode Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
(command syntax: changed [ ] into ( ))
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}}
{{command|statistics}}
+
;Mode( &lt;List of Numbers> ):Determines the mode(s) of the list elements.
;Mode[ <List of Numbers> ]:Determines the mode(s) of the list elements.
 
 
:{{Examples|1=<br/>
 
:{{Examples|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}''.}}

Latest revision as of 09:55, 12 October 2017


Mode( <List of Numbers> )
Determines the mode(s) of the list elements.
Examples:
  • 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}.
© 2024 International GeoGebra Institute