|
a |
|
b/man/lm_proj.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/projection.R |
|
|
3 |
\name{lm_proj} |
|
|
4 |
\alias{lm_proj} |
|
|
5 |
\title{Compute projections of full predictors on to subspace of predictors} |
|
|
6 |
\usage{ |
|
|
7 |
lm_proj(x, fit, sigma2, indproj, is.logistic) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{x}{Design matrix.} |
|
|
11 |
|
|
|
12 |
\item{fit}{Matrix of fitted values for the full model.} |
|
|
13 |
|
|
|
14 |
\item{sigma2}{Residual variance (1 for logistic regression).} |
|
|
15 |
|
|
|
16 |
\item{indproj}{Vector of indices of the columns of \code{x} that form the |
|
|
17 |
projection subspace.} |
|
|
18 |
|
|
|
19 |
\item{is.logistic}{Set to \code{TRUE} for a logistic regression model.} |
|
|
20 |
} |
|
|
21 |
\description{ |
|
|
22 |
Compute projections of full predictors on to subspace of predictors |
|
|
23 |
} |
|
|
24 |
\keyword{internal} |