The R programs that accompany the textbook typically have the structure shown below. They involve the creation of an R data set, printing it, one or more plots showing the observations, a statistical analysis, and finally plots to examine the assumptions of the analysis.

