Learn R Programming

bullseye (version 0.1.2)

pair_nmi: Normalized mutual information

Description

Calculates normalized mutual information for every numeric or factor or mixed variable pair in a dataset.

Usage

pair_nmi(d, handle.na = TRUE, ...)

Value

A tibble of class pairwise

Arguments

d

A dataframe

handle.na

If TRUE uses pairwise complete observations to calculate normalized mutual information, otherwise NAs not handled.

...

other arguments

Details

The normalized mutual information is calculated using maxNMI from linkpotter package

Examples

Run this code
if (requireNamespace("linkspotter", quietly = TRUE)) { 
   pair_nmi(iris)
}

Run the code above in your browser using DataLab