pair_mine {bullseye} | R Documentation |
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, warnings = TRUE, ...)
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. |
warnings |
If TRUE, generates a warning for datasets of one row, one column, or with constant variables. |
... |
other arguments |
Details
The values are calculated using mine
from minerva
Value
A tibble of class pairwise
with scores for numeric variable pairs,
or NULL if there are not at least two numeric variables
References
Reshef, David N., et al. "Detecting novel associations in large data sets." science 334.6062 (2011): 1518-1524
Examples
pair_mine(iris)
pair_mine(iris, method="MAS")
[Package bullseye version 1.0.0 Index]