To install this package, execute the following commands in R:
# Install 'devtools' package, if needed
if(!("devtools" %in% list.files(.libPaths()))) {
install.packages("devtools", repo = "http://cran.rstudio.com", dep = TRUE)
}
library(devtools) # Loads devtools
install_github("wpeterman/ssmc") # Download package
library(ssmc) # Installs package and the other required packages needed
Once the package is installed, you can further explore the functions by opening the HTML 'Vignette' using the code below, or you can view the vignette directly here
vignette('ssmc') # Opens tutorial in web browser
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.