I´m new to R so forgive me if the question is quite mundane. I have a table with categorical variables as columns. I need to calculate the contingency coefficient between every possible combination of two columns.
To calculate the contingency coefficient I use ContCoef() from the DescTools.
ContCoef() expects two columns as inputs.
ContCoef(data[,1], data[,2], correct = TRUE)
 
    