Data Frames and their Management

This chapter describes how a typical data set used in multivariate analysis is composed - i.e. as a rectangular arrangement of variables and observations. The chapter further describes ways to manipulate data within data frames and how data frames can be restricted, combined, and reshaped. The chapter also discusses how data in various formats can be imported. Such data formats include CSV, TAB-delimited, and fixed-column files.

Below is the supporting material for the various sections of the chapter.

The Structure of Data Frames

Accessing and Changing Variables in Data Frames

Manipulating Data Frames

Aggregating Data Frames

Groupwise computations within Data Frames

Importing Data into Data Frames