bayesrules is an R package to supplement the Bayes Rules! book. It contains datasets and functions that are used in the book. You can find vignettes on the package website.
You can install bayesrules from CRAN.
install.packages("bayesrules")
You can install the development version from GitHub. You would also need to install the devtools package if you do not have it installed already.
#install.packages("devtools")
devtools::install_github("bayes-rules/bayesrules")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.