Levels of y (columns of the table), sorted by code point.
OptionalconfConfidence interval [lower, upper] (R's conf.int).
OptionalconfConfidence level of confInt (R's attr(conf.int, "conf.level")).
OptionalestimateEstimate(s) of the parameter being tested (R's estimate).
OptionalestimateName(s) of estimate (R's names(estimate)), e.g. "mean of x".
Expected counts under the null hypothesis.
Freeman-Tukey deviates sqrt(O) + sqrt(O + 1) - sqrt(4E + 1) (Bishop, Fienberg and Holland 1975; not in R),
approximately standard normal under the null hypothesis; their sum of squares is the Freeman-Tukey statistic.
Description of the test, as R's method (e.g. "Welch Two Sample t-test").
OptionalnullValue of the parameter under the null hypothesis (R's null.value).
OptionalnullName of nullValue (R's names(null.value)), e.g. "difference in means".
Observed counts (an array of rows for a contingency table).
Degrees of freedom (parameterName is "df").
OptionalparameterName of parameter (e.g. "df").
p-value of the test (R's p.value).
Pearson residuals (O - E) / sqrt(E).
Levels of x (rows of the table), sorted by code point.
Value of the test statistic (R's statistic).
Name of the test statistic (e.g. "t", "X-squared", "V", "W").
Standardized residuals (O - E) / sqrt(V), where V is
E (1 - row proportion) (1 - column proportion) for a contingency table and
n p (1 - p) for goodness of fit. For a contingency table the complements are the other rows' and columns'
sums over the total, and the residual and V are computed in double-double.
R's warnings, each once, in R's order (an empty array when there are none).
Result of chisqTest with two factor vectors: also the levels that label the rows and columns.