Introduction

Instruction

We can also index a data frame using both rows and columns. To access the first row and first column of the people data frame, we write:

people[1,1]

Exercise

Retrieve the value listed under the second row and first column of the cars data frame.

Stuck? Here's a hint!

Type:

cars[2,1]