Going from wide to long format in R - Pivoting to tidy data with the Tidyverse

Learning Objectives
1. Understand what tidy data are
2. Two reasons we need to pivot
3. Four arguments required for the pivot_longer function
Getfit dataset: quantpsych.net/data/getfit.csv
My R Code: quantpsych.net/data/11a-pivoting.R

Пікірлер: 5

  • @eyadha1
    @eyadha1 Жыл бұрын

    very very helpful, as usual

  • @Zane_Zaminsky
    @Zane_Zaminsky9 ай бұрын

    40-year career here. If I had a penny for every time I converted a dataset from long to wide or from wide to long (with SAS), I’d be VERY rich… 😉

  • @crystal-pang
    @crystal-pang2 жыл бұрын

    very useful, btw, you should wear blue more.

  • @jorgemmmmteixeira
    @jorgemmmmteixeira2 жыл бұрын

    Code link seems to not be working :P

  • @pl1186
    @pl11862 жыл бұрын

    I need your guide with my master dissertation, how can I contact you sir?