Chapter 7 tidyverse
From the tidyverse website:
The tidyverse is an opinionated collection of R packages designed for data science. All packages share an underlying design philosophy, grammar, and data structures.
The tidyverse includes the following packages:
- ggplot2 - provides a system for creating graphics based on The Grammar of Graphics
- dplyr - provides functions for data manipulation
- tidyr - provides functions that help you turn your data into tidy data
- readr - provides fast functions for reading data from files
- forcats - provides functions for working with factors
- tibble - provides an alternative data structure (a tibble) to the data frame
- stringr - provides functions for working with strings
- purrr - provides tools for working with functions and vectors
Install the tidyverse collection of packages using:
install.packages("tidyverse")
While all of the tidyverse is useful for working with data (and worth spending time to learn), we’ll focus on the dplyr, tidyr, and ggplot2 packages.