I have a dataset of two groups of variables upon 4 variables like the following. How can I see the chi-square correlation in R in these two groups? enter image description h