# File Name: Discrim_Install.r
# Description:
# To use the **DiscrimOD** package, one need to have R packages 'devtools',
# 'Rcpp' and 'RcppArmadillo' installed in advance. This file is written for
# users to install all the required R packages and our **DiscrimOD** package.
# Please copy the codes below and run them in R.
# ----------------------------------------------------------------------------
# Install required R packages
pkgRequired <- c("devtools", "Rcpp", "RcppArmadillo")
install.packages(pkgRequired)
# Install the **DiscrimOD** package from GitHub
devtools::install_github("PingYangChen/DiscrimOD")
# Try if it is installed successfully
library(DiscrimOD)
?DiscrimOD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.