Subsection C.1 Needed packages
Let’s load all the packages needed for this appendix (this assumes you’ve already installed them). Recall from Section 4.4 that loading the
tidyverse package by running library(tidyverse) loads the following commonly used data science packages all at once:
-
ggplot2for data visualization -
dplyrfor data wrangling -
tidyrfor converting data to “tidy” format -
readrfor importing spreadsheet data into R -
As well as the more advanced
purrr,tibble,stringr, andforcatspackages.
Read Section 1.3 for information on how to install and load R packages.
library(tidyverse)
library(scales)
library(janitor)
library(dygraphs)
library(nycflights23)
