# aggmap: Aggregation map for the integration of truncated lists In TopKLists: Inference, Aggregation and Visualization for Top-K Ranked Lists

## Description

The function aggmap applies Paul Murrell's grid package. It is plotting the ranked items (objects) of L truncated (top) lists of individual length \hat{k}_i, based on pairwise comparison of all L lists. The resulting aggmap is defined as follows: For an index, p=1,2,…$,$L-1, aggregation levels (groupings of top lists) are combined in one display. For each group of L-p truncated lists down to the smallest group consisting of just one pair of lists, (1) an arbitrary reference list ("ground truth") is selected under the condition that it comprises \max_i(\hat{k}_i) items among all pairwise comparisons in the group of rankings, (2) symbols of its \max_i(\hat{k}_i) items are printed vertically from the highest to the lowest rank position, and (3) the aggregation information for all remaining L-p rankings in the group is added, ordered according to descending list length.

The aggregation information per item and group consists of three measures represented by colored triangles and rectangles, respectively, outlined in array format: (a) The membership of an individual item in the top-k lists, yes is denoted by the color 'grey' and no by the color 'white'. (b) The distance d of the rank of an individual item in the reference list from its position in the other list, is denoted by a triangle color scaled from 'red' identical to 'yellow' far distant. An additional integer value gives the numerical distance between the item's rank positions, a negative sign means ranked lower, and a positive sign means ranked higher in the current list, with respect to the reference list. (c) The rectangular of a symbol takes on the color 'grey' when the percentage of d ≤q δ across the columns of a group is above some prespecified threshold, and 'white' otherwise.

## Usage

 1 aggmap(truncated.lists) 

## Arguments

 truncated.lists Object resulting from the calculate.maxK function

## Author(s)

Eva Budinska <[email protected]>, Michael G. Schimek <[email protected]>

## References

Murrell, R. (2005) R Graphics. Chapman & Hall/CRC, Boca Raton, Florida.

Schimek, M. G. and Budinska, E. (2010). Visualization techniques for the integration of rank data. In Lechevallier, Y. and Saporta, G. (eds). COMPSTAT 2010. Proceedings in Computational Statistics. Heidelberg: Physica (e-book ISBN 978-3-7908-2603-6), 1637-1644.

Schimek, M. G. and Bloice, M. (2012). Modelling the rank order of Web search engine results. In Komarek, A. and Nagy, S. (eds). Proceedings of the 27th International Workshop on Statistical Modelling. (e-book ISBN 978-80-263-0250-6), Vol. 1, 303-308.

calculate.maxK

## Examples

 1 2 3 4 5 6 7 set.seed(1234) data(breast) truncated.lists = calculate.maxK(breast, d=10, v=10, L=3, threshold=50) ## Not run: aggmap(truncated.lists) ## End(Not run) 

### Example output




TopKLists documentation built on May 2, 2019, 4:41 p.m.