Diff of /man/fit.submodel.Rd [000000] .. [ede2d4]

Switch to unified view

a b/man/fit.submodel.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/projection.R
3
\name{fit.submodel}
4
\alias{fit.submodel}
5
\title{Compute the fit of a submodel}
6
\usage{
7
fit.submodel(x, sigma2, mu, chosen, xt, yt, logistic)
8
}
9
\arguments{
10
\item{x}{Design matrix.}
11
12
\item{sigma2}{Residual variance (1 for logistic regression).}
13
14
\item{mu}{Matrix of fitted values for the full model.}
15
16
\item{chosen}{Vector of indices of the columns of \code{x} in the current submodel.}
17
18
\item{xt}{Design matrix for test data.}
19
20
\item{yt}{Outcome variable for test data.}
21
22
\item{logistic}{Set to \code{TRUE} for a logistic regression model.}
23
}
24
\description{
25
Compute the fit of a submodel
26
}
27
\keyword{internal}