I have a table loaded in r with 2 columns. The first column contains a list of identification numbers and the second column contains the corresponding name of a piece of equipment. Is there an r function that would retrieve the equipment name when I enter the identification number?

For example, if my table looks like this...

```
ID #        Equipment name
1           Car
2           Bike
3           Plane

```

...I want to enter "1" and get the string "Car".