Learn R Programming

ffmanova (version 1.1.1)

adjust: Adjust a predictor matrix for the presence of another matrix

Description

adjust adjusts a predictor matrix \(X\) for the presence of another predictor matrix \(Y\), by orthogonalizing \(X\) against \(Y\).

Usage

adjust(X, Y)

Arguments

X

matrix. The matrix to be adjusted.

Y

matrix. The matrix to be adjusted for.

Value

A matrix with an orthogonal basis for the adjusted predictor matrix.

Details

The function can handle rank deficient matrices.