Commonest
✖
Commonest
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Obtain the elements with the highest frequency:

https://wolfram.com/xid/0i1kv4tyg-crqgpn

Obtain the 4 most common elements:

https://wolfram.com/xid/0i1kv4tyg-g25vkh

Obtain the 6 most common elements, or as many as there are if fewer:

https://wolfram.com/xid/0i1kv4tyg-6nefnu

Scope (4)Survey of the scope of standard use cases
Exact input yields exact output:

https://wolfram.com/xid/0i1kv4tyg-ug7y2


https://wolfram.com/xid/0i1kv4tyg-bcry2t

Approximate input yields approximate output:

https://wolfram.com/xid/0i1kv4tyg-ksx55


https://wolfram.com/xid/0i1kv4tyg-b040nh


https://wolfram.com/xid/0i1kv4tyg-nknun


https://wolfram.com/xid/0i1kv4tyg-ddw0r4

Works with data involving quantities:

https://wolfram.com/xid/0i1kv4tyg-jopin9


https://wolfram.com/xid/0i1kv4tyg-e8c21s

Applications (2)Sample problems that can be solved with this function
Find the mode of a set of random integers:

https://wolfram.com/xid/0i1kv4tyg-bjgnjb

Find the most frequently occurring elements in the columns of a matrix:

https://wolfram.com/xid/0i1kv4tyg-bwk63i

Find the mode for the heights of the children in a class:

https://wolfram.com/xid/0i1kv4tyg-cevfij

https://wolfram.com/xid/0i1kv4tyg-fllmtw


https://wolfram.com/xid/0i1kv4tyg-celepo


https://wolfram.com/xid/0i1kv4tyg-je3w5i


https://wolfram.com/xid/0i1kv4tyg-cny2bx

Properties & Relations (1)Properties of the function, and connections to other functions
Wolfram Research (2007), Commonest, Wolfram Language function, https://reference.wolfram.com/language/ref/Commonest.html (updated 2015).
Text
Wolfram Research (2007), Commonest, Wolfram Language function, https://reference.wolfram.com/language/ref/Commonest.html (updated 2015).
Wolfram Research (2007), Commonest, Wolfram Language function, https://reference.wolfram.com/language/ref/Commonest.html (updated 2015).
CMS
Wolfram Language. 2007. "Commonest." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/Commonest.html.
Wolfram Language. 2007. "Commonest." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/Commonest.html.
APA
Wolfram Language. (2007). Commonest. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Commonest.html
Wolfram Language. (2007). Commonest. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Commonest.html
BibTeX
@misc{reference.wolfram_2025_commonest, author="Wolfram Research", title="{Commonest}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/Commonest.html}", note=[Accessed: 16-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_commonest, organization={Wolfram Research}, title={Commonest}, year={2015}, url={https://reference.wolfram.com/language/ref/Commonest.html}, note=[Accessed: 16-April-2025
]}