Skip to main content

Week 2: Vectors & Subsetting

Sep 9, 2026 · 2:00–4:40 PM · Bobst LL138

Before class

  • Read: R02Pro Ch 2–3
  • Review the newly released weekly exercise and prepare questions.
  • Complete Weekly Exercise 1 (due Thursday Sep 10 at 11:59 PM, extended).
  • 🔍 Proofreading corner: spot a typo or unclear passage in Ch 2–3? Submit a PR or issue for extra credit (see syllabus).

Topics

  • Object assignment and naming
  • Numeric, character, and logical vectors
  • Patterned vectors; sorting; summary statistics
  • Comparisons, subsetting, logical and set operations

Materials

Due

  • Weekly Exercise 1 (due Thursday Sep 10 at 11:59 PM, extended)
  • In-class exercise 2 (pushed to GitHub by end of class)