powered by
Calculates Stuarts's tau C every factor variable pair in a dataset.
pair_tauC(d, handle.na = TRUE, ...)
A tibble of class pairwise with factor pairs, or NULL if there are not at least two factor variables
pairwise
A dataframe
ignored. Pairwise complete observations are used automatically.
other arguments
Calculated using StuartTauC. Assumes factor levels are in the given order. NAs are automatically handled by pairwise omit.
StuartTauC
d <- data.frame(x=rnorm(20), y=factor(sample(3,20, replace=TRUE)), z=factor(sample(2,20, replace=TRUE))) pair_tauC(d)
Run the code above in your browser using DataLab