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
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…
😉
very very helpful, as usual
Code link seems to not be working :P
very useful, btw, you should wear blue more.
I need your guide with my master dissertation, how can I contact you sir?