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

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • 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

  • @Zane_Zaminsky
    @Zane_Zaminsky 11 месяцев назад +1

    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…
    😉

  • @eyadha1
    @eyadha1 Год назад

    very very helpful, as usual

  • @jorgemmmmteixeira
    @jorgemmmmteixeira 2 года назад +1

    Code link seems to not be working :P

  • @crystal-pang
    @crystal-pang 2 года назад

    very useful, btw, you should wear blue more.

  • @pl1186
    @pl1186 2 года назад

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