5  Working with tabular data

Learning objectives

5.1 Context

In the previous section we dealt with single objects and vectors. Here we expand towards tabular data, which can be seen as a set of vectors grouped together.

5.2 Tabular data

  • LO: understand data frames; matrices
  • LO: exploring structure of tabular data
Figure 5.1: An example of tabular data

5.3 Working with data

  • LO: read in CSV file; TSV; specifying how to deal with missing data
  • LO: selecting columns with $
  • LO: brief introduction to subsetting with [row, column]

5.4 Saving

LO: saving tables to file

5.5 Summary

Key points