lm_proj: Compute projections of full predictors on to subspace of...

View source: R/projection.R

lm_projR Documentation

Compute projections of full predictors on to subspace of predictors

Description

Compute projections of full predictors on to subspace of predictors

Usage

lm_proj(x, fit, sigma2, indproj, is.logistic)

Arguments

x

Design matrix.

fit

Matrix of fitted values for the full model.

sigma2

Residual variance (1 for logistic regression).

indproj

Vector of indices of the columns of x that form the projection subspace.

is.logistic

Set to TRUE for a logistic regression model.


hsstan documentation built on June 22, 2024, 12:19 p.m.