Lecture 10
Duke University
STA 199 Spring 2026
2026-02-16
To keep some rows in a data frame and discard others, I use BLANK. To keep some columns and discard others, I use BLANK.
Scan the QR code or go HERE. Log in with your Duke NetID.
Spring break is three weeks away. Here’s what happens in the meantime:
After that, I forbid any of us from thinking about this class until March 16 at the earliest.
read_csv()
read_tsv(), read_delim(), etc.read_excel()
read_sheet() – We haven’t covered this in the videos, but might be useful for your projectsRead a CSV file
Split it into subsets based on features of the data
Write out subsets as CSV files
What is the story in this visualization?
