This package is created for the purpose of BIOSTAT 625 HW4 and is intended to execute linear regressions on a specified data frame, mimicking the more commonly known lm function.
with devtools
:
devtools::install_github("gnbosma/hw4")
This R Package contains two functions, lm2 and summarylm2. Call lm2 if you are interested in obtaining residuals, rank, fitted values, degrees freedom, coefficients, or predicted values of a linear model. Call summarylm2 if you are interested in obtaining sigma value, (adjusted) R squared values, F-statistics, p-values or covariance structures.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.