Session Ready
Exercise

Grouping and nesting

Let's practice nesting data frames, getting familiar with the output, and computing on nested data frames.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3

Nest the stocks data by symbol, creating a new output datset by_symbol. Recall that you first need to group_by() with dplyr and then nest() with tidyr.