knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of bis557 is to illustrate how to create an R package for the Yale Biostatistics bis 557 class.
The development version of the package can be installed from GitHub with:
# install.packages("devtools") devtools::install_github("tqchen07/bis557")
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.