transform(deprecated)/tally - Help

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.

withstats:

data110,10,10,20,20,30

data1:=10,10,10,20,20,30

(1)

transform[tally]data1

Weight10,3,Weight20,2,30

(2)

data21,2,3,missing,3,4..5,4..5,Weight4..5,6,6..7,6..7

data2:=1,2,3,missing,3,4..5,4..5,Weight4..5,6,6..7,6..7

(3)

transform[tally]data2

missing,1,2,Weight3,2,Weight4..5,8,Weight6..7,2

(4)

See Also

sort

Statistics

Statistics[Tally]

transform(deprecated)[statsort]

transform(deprecated)[tallyinto]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam