Session 10 Plotting with ggplot2
As already mentioned these plots, although quick and useful, are not always the prettiest or easiest to manipulate for what you may want. An alternative to these in-built functions is \(\verb|ggplot|\), found in the package \(\verb|ggplot2|\). Take a look at Chapter 3 of R for Data Science: http://r4ds.had.co.nz/data-visualisation.html and work through all sections apart from 3.9.
10.2 Exploratory Data Analysis
Now that we are fully versed in how to visualise our data, we can try to begin to think about what to do in exploratory data analysis. Now work through sections 7.1 up to and including 7.4 from chapter 7 http://r4ds.had.co.nz/exploratory-data-analysis.html.
10.3 Further Reading
- Try the Data Visualisation workshop from Andrew Stewart’s course.