Runs a chi-square test for association on a simple 2 x 2 table. If `yates'is nil, the correction for continuity is not done; default is t.Returns the chi-square statistic and the significance of the value.