updated the code for relationship detection. The chisq.test() function is not working. Therefore changed to assocstats() function from the vcd package. This function generates the Pearson's Chi-Square statistic.
updated the code for relationship detection. The chisq.test() function is not working. Therefore changed to assocstats() function from the vcd package. This function generates the Pearson's Chi-Square statistic.

duttashi/LearningR