Data Manipulation and Visualization

In the next two chapters, we will learn how to manipulate and visualize data.

We will use tidyverse packages (mainly dplyr, ggplot2, and tidyr) for easier and faster data manipulation/visualization. First, install and load the tidyverse by running:

install.packages("tidyverse")  # install 'tidyverse' packages
library(tidyverse)  # load 'tidyverse' packages

* Visit https://www.tidyverse.org/ to learn more about the tidyverse