transform(deprecated)/classmark - Help

Online Help

All Products    Maple    MapleSim


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

stats[transform, classmark]

replace Classes by their Class Mark

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

stats[transform, classmark](data)

transform[classmark](data)

Parameters

data

-

statistical list

Description

• 

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

• 

The function classmark of the subpackage stats[transform, ...] replaces classes by their class mark in the given data.

• 

The class mark of a class is its midpoint. A class is represented by the range data structure. When the distinction is important (such as for the transform[tallyinto] function), the lower bound is inclusive and the upper bound is exclusive. Therefore, a..b represents data  points x such that a<=x<b.

• 

Data not given as a class (or range) are left unchanged.

Examples

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

withstats&colon;

data11..3&comma;4..5

data1:=1..3&comma;4..5

(1)

transform&lsqb;classmark&rsqb;data1&equals;1&plus;32&comma;4&plus;52

2&comma;92&equals;2&comma;92

(2)

It works for weighted data also.

data2Weight3..9&comma;10

data2:=Weight3..9&comma;10

(3)

transform&lsqb;classmark&rsqb;data2&equals;Weight3&plus;92&comma;10

Weight6&comma;10&equals;Weight6&comma;10

(4)

data3Weight3&comma;10&comma;missing&comma;4&comma;Weight11..12&comma;3&comma;15..17

data3:=Weight3&comma;10&comma;missing&comma;4&comma;Weight11..12&comma;3&comma;15..17

(5)

transform&lsqb;classmark&rsqb;data3

Weight3&comma;10&comma;missing&comma;4&comma;Weight232&comma;3&comma;16

(6)

See Also

Statistics

stats(deprecated)[data]

stats(deprecated)[transform]

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