README.md

biostat625hw4

In this repository, a package called lm2Wsmry, which is a package that tries to reproduce perfermance of lm() and summary(lm()) in base.

R-CMD-check

codecov

Installation

To ultilize the package lm2Wsmry, download from GitHub and load in your environment by devtools

devtools::install_github("TKUmich96/biostat625hw4", build_vignettes = T)
library(lm2Wsmry)

Overview

The package contains two functions that used to fit a linear regression model, and return summary of important statistics of that regression. It could somehow reproduce the performance of lm() and summary(lm()) 1. lm2(): a function used to fit the linear regresion 2. summary_lm2(): a function used to display the important statistics of that regression model from lm2()

Please vignettes in tutorial.Rmd for more details

Note On Rcpp usage

Rcpp code has been de-actived in the src file. When I test it locally, it worked, but cannot pass continuous integration. If you want to check how it helps to speed up my calculation, for free to comment it back.



TKUmich96/biostat625hw4 documentation built on Dec. 18, 2021, 4:02 p.m.