LinRegP-class: S4 class definition for a linear model

Description Slots

Description

S4 class definition for a linear model

Slots

model

character vector description of model

intercept

is an intercept included in the model? Takes values TRUE or FALSE

outcome

numeric vector of the outcome ('y')

covariates

data frame of the covariates. At present must be numeric

modelCoef

matrix representation of the fitted model coefficients ('betahats')

fittedVals

numeric vector of the fitted values ('yhat')

residuals

numeric vector of the fitted residuals

summaryStats

list containing summary stats: Rsquared, weighted Rsquared and RMSE

leverage

numeric vector of the leverage of each fitted value


philipmgoddard/lmPG documentation built on May 25, 2019, 5:04 a.m.