Learn R Programming

matie (version 1.2)

tap: Test all pairs (computes association score for all pairs of variables).

Description

Tries all pairs in an n x m user supplied data set (n observations of m variables). Returns a square matrix of association measures.

Usage

tap(dataSet,one)

Arguments

dataSet
the n x m data frame representing n observations of m variables.
one
a string specifying the name of one variable in the dataset, for testing all pairs against one.

Value

Returns a square data frame.

Details

All pairs of variables in a user supplied data set are measured for A association. Returns an m x m data frame ( or m-1 x m-1 when one is set) storing A values for each pair of variables in the all pairs test.

References

Discovering general multidimensional associations, http://arxiv.org/abs/1303.1828

See Also

ma

Examples

Run this code
    # measure association for all pairs in a subrange of the baseball dataset
    data(baseballData)
    ap <- tap(baseballData)

Run the code above in your browser using DataLab