July 2016
Beginner to intermediate
832 pages
21h 51m
English

Vectors, matrices, and arrays are efficient and convenient data storage structures in R, but they have one distinct limitation: they can store only one type of data. In this chapter, you’ll explore two more data structures, lists and data frames, which can store multiple types of values at once.
The list is an incredibly useful data structure. It can be used to group together any mix of R structures and objects. A single list could contain a numeric matrix, a logical array, a single character string, and a factor object. You can even have a list as a component of another list. In this section, you’ll ...
Read now
Unlock full access