R functions that I use...
Using the roxygen documentation and examples, I can simply load these as I would an R package. This makes any research that uses these functions reproducible, and open for all to use.
Install using install_github within Hadley's devtools package. https://github.com/hadley/devtools/wiki/Documenting-functions
# install.packages("devtools")
library(devtools)
install_github("drewgriffith15/griffun")
library(griffun)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.