stats[transform, multiapply]
apply a function across multiple data lists
Calling Sequence
Parameters
Description
Examples
stats[transform, multiapply[fctn]](listdata)
transform[multiapply[fctn]](listdata)
fctn
-
function
listdata
list of statistical lists
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.
with⁡stats:
transformmultiapplyx,y↦5⋅x+y2⁡1,2,3,4,5,6
21,35,51
These are computed as follows.
5⋅1+42,5⋅2+52,5⋅3+62
See Also
Statistics
stats(deprecated)[data]
stats(deprecated)[transform]
transform(deprecated)[apply]
zip
Download Help Document