powered by
adjust adjusts a predictor matrix \(X\) for the presence of another predictor matrix \(Y\), by orthogonalizing \(X\) against \(Y\).
adjust
adjust(X, Y)
matrix. The matrix to be adjusted.
matrix. The matrix to be adjusted for.
A matrix with an orthogonal basis for the adjusted predictor matrix.
The function can handle rank deficient matrices.