Lecture 8
Overview
- Recognize R Data Types and Data Structures
- Practice working with R Data Structures, especially vectors and lists
- Describe the difference between “base R” and the “tidyverse”
- Recognizing and use “base R” most important functions
Readings
Data Structures in R:
- Read Chapter 20 “Vectors” in “R for Data Science” 1st Edition. I assigned the 1st Edition because I find it a bit clearer on this topic than the 2nd Edition, but you might want to take a look also at Chapter 12 “Logical Vectors” and Chapter 13 “Numbers” of the 2nd Edition and decide what you prefer. Either works!
Base R:
- Read Chapter 27 “A field guide to base R” in “R for Data Science” 2nd Edition.
Class materials
Run the code below in your console to download today’s in-class exercises: usethis::use_course("css-materials/data-structures")