1 Introduction

This part of the book is intended to provide a sufficient introduction to R to get you started on the subsequent parts of this book. For a more comprehensive treatment on the subject, I would recommend R for Data Science by Hadley Wickham & Garrett Grolemund [4]. The R Graphics Cookbook by Winston Chang [5] is also a useful reference that provides recipes that allows you to quickly generate plots in R using the ggplot2 package.