The function frequency of the subpackage stats[transform, ...] replaces each data point of data by its frequency or weight.

•

The order of the data items is not changed.

•

Statistical data items in a list have a weight, obtained using transform[frequency] and a value, obtained using transform[statvalue]. One can obtained the total frequency, or total weight, using describe[count]. All frequencies in a statistical data list can be changed, proportionally, using the transform[scaleweight].