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.
Usage
row_col_effect(to_align, rows, cols)
Value
A vector of row and column effects. The response vector less this is
the aligned response variable.
Arguments
to_align
a numeric response vector.
rows
a vector giving the row effects for y.
cols
a vector giving the column effects for y.
References
Rayner, J.C.W and Livingston, G. C. (2022). An Introduction to Cochran-Mantel-Haenszel Testing and Nonparametric ANOVA. Wiley.