Goodman Kruskal's Tau for association between ordinal factors.
Source:R/pair_methods.R
pair_gkTau.Rd
Calculates Goodman Kruskal's Tau coefficient for every factor variable pair in a dataset.
Value
A tibble of class pairwise
with Goodman Kruskal's Tau for every factor variable pair,
or NULL if there are not at least two factor variables
Details
The Goodman Kruskal's Tau coefficient is calculated using GoodmanKruskalTau
function from the DescTools
package. Assumes factor levels are in the given order.
NAs are automatically handled by pairwise omit.