transform(deprecated)/multiapply - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

stats[transform, multiapply]

apply a function across multiple data lists

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

stats[transform, multiapply[fctn]](listdata)

transform[multiapply[fctn]](listdata)

Parameters

fctn

-

function

listdata

-

list of statistical lists

Description

• 

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

• 

The function multiapply of the subpackage stats[transform, ...] applies the requested function across the lists of statistical lists in the given listdata.

• 

The function supplied must be designed to handle missing data, weighted data and class data correctly, if such data is present in listdata.

• 

Each sublist of listdata must contain the same number of elements. In other words, map(nops, listdata) should return a list of identical numbers.

• 

This function is an extension to the zip() function.

• 

An example of the use of this function is the following. Given a list of marks for each classroom tests, and a formula that computes the final mark of each student, the function transform[multiapply] allows the computations of the final mark of all students, all at once.

Examples

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

withstats:

transformmultiapplyx,y5x+y21,2,3,4,5,6

21,35,51

(1)

These are computed as follows.

51+42,52+52,53+62

21,35,51

(2)

See Also

Statistics

stats(deprecated)[data]

stats(deprecated)[transform]

transform(deprecated)[apply]

zip