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.


Installation

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")