Getting started with tibbles
Creating tibbles
Subsetting
10. Extract columns by $
Summary

Instruction

Great! Now, we will extract a column from the tibble using the column's name. We'll use the $ operator to do this (just as you would with a data frame). If you wanted to extract the department column from the employees tibble, it would look like this:

employees$department

Exercise

Extract the product column from the orders tibble.

Stuck? Here's a hint!

Type:

orders$product