Learn R Programming

bullseye (version 0.1.2)

pair_uncertainty: Uncertainty coefficient for association between factors.

Description

Calculates uncertainty coefficient for every factor variable pair in a dataset.

Usage

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

Value

A tibble of class pairwise with every factor variable pair and uncertainty coefficient value, or NULL if there are not at least two factor variables

Arguments

d

A dataframe

handle.na

ignored. Pairwise complete observations are used automatically.

...

other arguments

Details

The Uncertainty coefficient is calculated using UncertCoef function from the DescTools package.

Examples

Run this code
 pair_uncertainty(iris)

Run the code above in your browser using DataLab