A RC class for multiple linear regression
formulaThe formula object containing depedent and independent variables
dataA data frame object to apply the multiple linear regression to
coef()Returns linear regression coefficients
pred()Returns fitted values
print()Prints the input and the coefficients in a user-friedly way
resid()Returns residual vector
summary()Returns a summary of the linear regression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.