Learn R Programming

bullseye (version 0.1.2)

pair_mine: MINE family values

Description

Calculates MINE family values for every numeric variable pair in a dataset.

Usage

pair_mine(d, method = "MIC", handle.na = TRUE, ...)

Value

A tibble of class pairwise with scores for numeric variable pairs, or NULL if there are not at least two numeric variables

Arguments

d

A dataframe

method

character vector for the MINE value to be calculated. Subset of "MIC","MAS","MEV","MCN","MICR2", "GMIC", "TIC"

handle.na

If TRUE uses pairwise complete observations to calculate score, otherwise NAs not handled.

...

other arguments

Details

The values are calculated using mine from minerva

References

Reshef, David N., et al. "Detecting novel associations in large data sets." science 334.6062 (2011): 1518-1524

Examples

Run this code
 pair_mine(iris)
 pair_mine(iris, method="MAS")

Run the code above in your browser using DataLab