To download the STAT302package, use the code below.
# install.packages("devtools")
devtools::install_github("jingnanyuan/STAT302package")
library(STAT302package)
The vignette demonstrates example usage of all main functions. You can see the vignette by using the following code (note that this requires a TeX installation to view properly):
# install.packages("devtools")
devtools::install_github("jingnanyuan/STAT302package", build_vignette = TRUE, build_opts = c())
library(STAT302package)
# Use this to view the vignette in the corncob HTML help
help(package = "STAT302package", help_type = "html")
# Use this to view the vignette as an isolated HTML file
utils::browseVignettes(package = "STAT302package")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.