Chapter 5 Data Frames
A data frame is basically a tidy spreadsheet: a bunch of data organized in a bunch of columns. From an R point of view, a data frame is a collection of vectors of equal length, corresponding to the columns of our imaginary spreadsheet. However, and in contrast to matrices, the vectors can differ in their type and be either numeric, character or logical.