pair_gkTau | R Documentation |
Calculates Goodman Kruskal's Tau coefficient for every factor variable pair in a dataset.
pair_gkTau(d, handle.na = TRUE, ...)
d |
A dataframe |
handle.na |
ignored. Pairwise complete observations are used automatically. |
... |
other arguments |
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.
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
pair_gkTau(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.