Compute projections of full predictors on to subspace of predictors
lm_proj(x, fit, sigma2, indproj, is.logistic)Design matrix.
Matrix of fitted values for the full model.
Residual variance (1 for logistic regression).
Vector of indices of the columns of x that form the
projection subspace.
Set to TRUE for a logistic regression model.