Chapter 4 Subsetting

Learning objectives:

  • Learn about the 6 ways to subset atomic vectors
  • Learn about the 3 subsetting operators: [[, [, and $
  • Learn how subsetting works with different vector types
  • Learn how subsetting can be combined with assignment