Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Reshaping Data with tidyr

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

ansur_df %>% 
  # Group the data by branch, then nest
  ___ %>% 
  ___
Code bewerken en uitvoeren