S4 class definition for a linear model
modelcharacter vector description of model
interceptis an intercept included in the model? Takes values TRUE or FALSE
outcomenumeric vector of the outcome ('y')
covariatesdata frame of the covariates. At present must be numeric
modelCoefmatrix representation of the fitted model coefficients ('betahats')
fittedValsnumeric vector of the fitted values ('yhat')
residualsnumeric vector of the fitted residuals
summaryStatslist containing summary stats: Rsquared, weighted Rsquared and RMSE
leveragenumeric 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.