IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Reshaping Data with tidyr

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

ansur_df %>% 
  # Group the data by branch, then nest
  ___ %>% 
  ___
Modifica ed esegui il codice