Description Usage Arguments Value Examples
This function runs linear regression model treating the response as continuous
| 1 | linear.mod(dat, intercept = TRUE)
 | 
| dat | n*(p+1) data frame with the covariates and the response vector | 
| intercept | logical. whether to include the intercept or not. default is TRUE | 
A list of
| betahat | A vector of beta estimates from the linear regression model. | 
| yhat | A vector of estimated response using the beta estimates from the model. | 
| 1 2 3 4 5 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.