A list of class "htest"
containing the following
components:
statisticthe chi-squared test statistic.
parameterdegrees of freedom of the approximate chi-squared
distribution of the test statistic.
p.value\(p\)-value for the test.
methoda character string indicating the type of test
performed.
data.namea character string giving the name(s) of the data.
observedthe observed counts.
expectedthe expected counts under the null hypothesis.