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.
Cet exercice fait partie du cours
Reshaping Data with tidyr
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
ansur_df %>%
# Group the data by branch, then nest
___ %>%
___