powered by
Calculates normalized mutual information for every numeric or factor or mixed variable pair in a dataset.
pair_nmi(d, handle.na = TRUE, ...)
A tibble of class pairwise
pairwise
A dataframe
If TRUE uses pairwise complete observations to calculate normalized mutual information, otherwise NAs not handled.
other arguments
The normalized mutual information is calculated using maxNMI from linkpotter package
maxNMI
if (requireNamespace("linkspotter", quietly = TRUE)) { pair_nmi(iris) }
Run the code above in your browser using DataLab