title: Chi squre test of two groups of data in R
body: <p>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?
  <a href="https://i.stack.imgur.com/Av5ii.png" rel="nofollow noreferrer">enter image description here</a></p>