row_col_effect {CMHNPA} | R Documentation |
row_col_effects
returns the values of the row and column effects. This
can be used to remove these effects from the response in a process call
aligning. This is particularly applicable in LSD data.
row_col_effect(to_align, rows, cols)
to_align |
a numeric response vector. |
rows |
a vector giving the row effects for |
cols |
a vector giving the column effects for |
A vector of row and column effects. The response vector less this is the aligned response variable.
Rayner, J.C.W and Livingston, G. C. (2022). An Introduction to Cochran-Mantel-Haenszel Testing and Nonparametric ANOVA. Wiley.
attach(peanuts)
row_col_effect(to_align = yield, rows = row, cols = col)