S4 class definition for a linear model
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.