stats[transform, tally]
group together data of same value
Calling Sequence
Parameters
Description
Examples
stats[transform, tally](data)
transform[tally](data)
data
-
statistical list
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The tally function of the subpackage stats[transform, ...] groups together the items of data that have the same value.
The ordering of the result is unpredictable. The utility stats[transform, statsort] can be useful.
To regroup data into a particular target pattern, use stats[transform, tallyinto].
with⁡stats:
data1≔10,10,10,20,20,30
transformtally⁡data1
Weight⁡10,3,Weight⁡20,2,30
data2≔1,2,3,missing,3,4..5,4..5,Weight⁡4..5,6,6..7,6..7
transformtally⁡data2
1,2,Weight⁡3,2,Weight⁡4..5,8,Weight⁡6..7,2,missing
See Also
sort
Statistics
Statistics[Tally]
transform(deprecated)[statsort]
transform(deprecated)[tallyinto]
Download Help Document