README.md

linear1

R-CMD-check test-coverage codecov

Overview

linear1 is intended to mimic the original R function lm, which stands for linear regression.

It currently has two functions:

Install

devtools::install_github("mengqi00/linear1")

Use

library(linear1)

### fit a linear model
model <- lm1(mpg ~ disp + wt, data = mtcars)

### get summaries of the model's results
summary1(model)

### get residuals and plot
diagnosis(model)

Get help

There are help pages for each function, use help(lm1), help(summary1), and help(diagnosis) to see more examples.



mengqi00/linear1 documentation built on Dec. 21, 2021, 4:57 p.m.