README.md

MyStat302Package

R-CMD-check codecov

MyStat302Package is the package designed for Project 3. It contains several functions we designed in the lab, including my_t,test(), my_lm(), my_knn_cv(), and my_rf_cv().

Installation

You can install the MyStat302Package Package using the following line:

install.packages("MyStat302Package")
library(MyStat302Package)

Alternatively, you can install the development version directly from GitHub.

# install.packages("devtools")
devtools::install_github("Chaos-Gao/MyStat302Package")
library(MyStat302Package)

Or, you can install the Package with vignettes from Github.

# install.packages("devtools")
devtools::install_github("Chaos-Gao/MyStat302Package", build_vignette = TRUE, build_opts = c())
library(MyStat302Package)

Use

The vignette demonstrates example usage of all main functions. You can see the vignette by using the following code:

library(MyStat302Package)
# Use this to view the vignette in the MyStat302Package HTML help
help(package = "MyStat302Package", help_type = "html")
# Use this to view the vignette as an isolated HTML file
utils::browseVignettes(package = "MyStat302Package")


Chaos-Gao/MyStat302Package documentation built on March 20, 2021, 2 p.m.