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.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Reshaping Data with tidyr
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
ansur_df %>%
# Group the data by branch, then nest
___ %>%
___