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

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/tap.R

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

1
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.

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.

Value

Returns a square data frame.

Note

The data set can be of any dimension.

Author(s)

Ben Murrell, Dan Murrell & Hugh Murrell.

References

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

See Also

ma

Examples

1
2
3
    # measure association for all pairs in a subrange of the baseball dataset
    data(baseballData)
    ap <- tap(baseballData)

matie documentation built on May 29, 2017, 5:29 p.m.