1. Learn
  2. /
  3. Courses
  4. /
  5. Reshaping Data with tidyr

Exercise

Nesting tibbles

You're pre-processing the US army body measurement dataset ANSUR II to train multiple models in a single pipeline. You'll experiment with the nest() function to create a list column with nested tibbles containing sub-sets of the data.

the dplyr package has been pre-loaded for you.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Group the data by army branch and then nest it.