Chapter exercises for Math 7608 in R.