In base R, the function chisq.test() "performs chi-squared contingency table tests and goodness-of-fit tests".
However, chisq.test() only takes a numeric vector or matrix, and not a three-way (three-dimensional) contingency table.
Is there a similar function for a three-way contingency table (i.e., array) in R?
R, ?mantelhaen.test). – gung - Reinstate Monica Dec 07 '16 at 19:13MASS::loglm()I made my data into anarrayand used the model formularow_name + column_name + page_name(with the actual row, column, and page names), the evaluated the standardized residuals to determine whether a specific cell is more or less likely than expected. Given limited info., does this sound like reasonable way to go? – Joshua Rosenberg Dec 07 '16 at 21:02