transform(deprecated)/tally - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : transform(deprecated)/tally

stats[transform, tally]

group together data of same value

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

stats[transform, tally](data)

transform[tally](data)

Parameters

data

-

statistical list

Description

• 

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].

Examples

Important: The stats package has been deprecated. Use the superseding package Statistics instead.

> 

with⁡stats:

> 

data1≔10,10,10,20,20,30

data1≔10,10,10,20,20,30

(1)
> 

transformtally⁡data1

Weight⁡10,3,Weight⁡20,2,30

(2)
> 

data2≔1,2,3,missing,3,4..5,4..5,Weight⁡4..5,6,6..7,6..7

data2≔1,2,3,missing,3,4..5,4..5,Weight⁡4..5,6,6..7,6..7

(3)
> 

transformtally⁡data2

1,2,Weight⁡3,2,Weight⁡4..5,8,Weight⁡6..7,2,missing

(4)

See Also

sort

Statistics

Statistics[Tally]

transform(deprecated)[statsort]

transform(deprecated)[tallyinto]