DOCUMENTATION CENTER SEARCH
Mathematica
>
Math & Counting Operations on Lists
>
Built-in
Mathematica
Symbol
Tally
Median
Mean
Split
See Also »
|
Exploratory Data Analysis
Descriptive Statistics
Discrete & Integer Data
Math & Counting Operations on Lists
New in 6.0: Data Handling & Data Sources
New in 6.0: List Manipulation
New in 6.0: Numerical Data Handling
New in 6.0: Statistics
More About »
Commonest
Commonest
[
list
]
gives a list of the elements that are the most common in
list
.
Commonest
[
list
,
n
]
gives a list of the
n
most common elements in
list
.
MORE INFORMATION
When several elements occur with equal frequency,
Commonest
[
list
,
...
]
picks first the ones that occur first in
list
.
Commonest
[
list
,
n
]
returns the
n
commonest elements in the order they appear in
list
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Obtain the elements with highest frequency:
In[1]:=
Out[1]=
Obtain 4 most common elements:
In[1]:=
Out[1]=
Scope
(1)
Applications
(1)
Properties & Relations
(1)
Possible Issues
(1)
SEE ALSO
Tally
Median
Mean
Split
MORE ABOUT
Exploratory Data Analysis
Descriptive Statistics
Discrete & Integer Data
Math & Counting Operations on Lists
New in 6.0: Data Handling & Data Sources
New in 6.0: List Manipulation
New in 6.0: Numerical Data Handling
New in 6.0: Statistics
New in 6
© 2008 Wolfram Research, Inc.