README.md

bis557

Travis build status Coverage Status Coveralls test coverage

The goal of bis557 is to illustrate how to create an R package for the Yale Biostatistics bis 557 class.

Installation

The development version of the package can be installed from GitHub with:

# install.packages("devtools")
devtools::install_github("tqchen07/bis557")

Example

data(iris)

# linear algebra method
fit_lm <- my_linear_model(Sepal.Length ~ ., iris)
fit_lm$coefficients

# gradient descent algorithm
fit_gd <- my_grad_descent(Sepal.Length ~ ., iris)
fit_gd$coefficients



tqchen07/bis557 documentation built on Dec. 21, 2020, 3:06 a.m.