Mathematica 9 is now available

Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Selecting Elements by Frequency
Author

Dan Madrigal
Organization: Wolfram Research, Inc.
Description

This function allows the selection of all elements which occur with frequency n in a list. You can choose to get all of the elements or a list containing one of each value which occurs with frequency n. The function takes the option ReducedList which is by default set to True. Setting it to False will give each element n times. The default value for n is one.
Subject

*Mathematica Technology > Kernel > Data Structures
Downloads Download Wolfram CDF Player

Download
ElemCount.nb (7.7 KB) - Mathematica Notebook