Chapter 6: Data visualisation with R

This chapter will give you an introduction to the R graphics system and teach you how to get started with using the ggplot2 package for drawing all kind of plots.

1R graphics

2Test your knowledge of R graphics

3Getting started with ggplot2

4Plotting two or more variables with ggplot2

5Make basic plots with ggplot2

6Multiple layers and attributes in ggplot2

7Practice creating multiple layers

8Scales and guides in ggplot2

9Practice changing scales

10Multiple plots in one figure

11Practice making multiple subplots

12Customise the look with themes in ggplot2

13Make pretty plots


About this course

A website with materials to help you learn R and use it to explore data. No prior experience in programming, statistics, or data is required to work through these materials. These materials were developed to prepare our students for our courses that expect some familiarity of R and data analysis.

About us

Monash University Logo

This course is brought to you by the team at Monash University, Department of Econometrics and Business Statistics. You can find the full list of contributors in the link 'Contributors' at the footer of this site.