Chapter 4 Data Cleaning and Data Management

Prepare your Markdown file by loading any libraries you will use. For this exercise we will be using the tidyverse and ggplot2 libraries.

You may have to install these libraries if you do not already have these installed by using: (Hint: Remove the # from the chunk below to install the packages, this is known as a “comment”)

# install.packages(c('tidyverse','ggplot2'))

4.1 Load libraries

library(tidyverse)
library(ggplot2)