Load the following packages to execute the code in subsequent sections:
library(tidyverse)
library(readr)
library(datasets)
The following packages may not be on your machine unless you have installed them earlier. The following if logic inspects your R libraries to determine whether the package has been installed. If not, it installs them immediately. This eliminates unnecessary reinstalls. This logic always loads the designated package into memory. Some of the examples in this chapter require additional packages, as shown ...