9  Manipulating rows

Learning objectives

9.1 Context

Data sets can contain large quantities of observations. Often we are only interested in part of the data at the time. We can deal with this by manipulating rows.

9.2 Manipulation of observations

9.2.1 Ordering rows

LO: ordering rows

9.2.2 Finding unique values

LO: finding unique rows

9.2.3 Filtering by condition

LO: filtering rows by condition

9.2.4 Missing data revisited

LO: dealing with missing data

9.3 Summary

Key points