Download the associated exercises using the following code:
# install.packages("usethis")
usethis::use_course("http://bit.ly/eds-random")
To follow along, make sure to have the following packages installed:
# run this code if you're not sure what you have installed
if(!require(tidyverse)) install.packages("tidyverse")
if(!require(knitr)) install.packages("knitr")
if(!require(ggpubr)) install.packages("ggpubr")
if(!require(caret)) install.packages("caret")
if(!require(gam)) install.packages("gam")
Other resources: