To download the solutions for each of the exercises as individual R scripts click the relevant links below. If the code opens in a browser window then right click on the link and select ‘save link as’ (or similar).
Exercise 1 solutions
Exercise 2 solutions
Exercise 3 solutions
Exercise 4 solutions
Exercise 4 ggplot solutions
Exercise 5 solutions
Exercise 6 solutions