Working with Graphics
We have obviously been working with graphics since the beginning of this book, as it is not easy to separate statistics and graphics, and perhaps it is impossible to do so. In Chapter 9, we will fill in some gaps and introduce the ggplot2 package as an effective alternative to the graphics package distributed with R.1
The ggplot2 package takes some adjustment in one’s thinking, as it works very differently from the graphics commands in base R. The payoff is that it can produce beautiful, even stunning, graphics. Although we will occasionally return to the base R’s graphics package, we will accomplish the majority ...