![I tried using pivot_wider for the first time, but my data is now spread over multiple lines. How can I achieve what I have illustrated in paint? : r/RStudio I tried using pivot_wider for the first time, but my data is now spread over multiple lines. How can I achieve what I have illustrated in paint? : r/RStudio](https://preview.redd.it/lgswqng7ft271.png?auto=webp&s=b3065ab398067a15cd65cd9a49abfef4b89b8146)
I tried using pivot_wider for the first time, but my data is now spread over multiple lines. How can I achieve what I have illustrated in paint? : r/RStudio
![Manipuler ses données avec tidyr ou comment éviter la surchauffe cérébrale - ThinkR - Certification & Formation langage R Manipuler ses données avec tidyr ou comment éviter la surchauffe cérébrale - ThinkR - Certification & Formation langage R](https://thinkr.fr/wp-content/uploads/long_wide.png)
Manipuler ses données avec tidyr ou comment éviter la surchauffe cérébrale - ThinkR - Certification & Formation langage R
![Leon Eyrich Jessen on X: "So here is my attempt at visualising the #tidyverse pivot_longer() and pivot_wider functions, used when doing #dataScience in #Rstats - Thoughts? 💻📉📈📊👇 https://t.co/7SjunRnWA1" / X Leon Eyrich Jessen on X: "So here is my attempt at visualising the #tidyverse pivot_longer() and pivot_wider functions, used when doing #dataScience in #Rstats - Thoughts? 💻📉📈📊👇 https://t.co/7SjunRnWA1" / X](https://pbs.twimg.com/media/ERulLTHX0AARGUp.png)
Leon Eyrich Jessen on X: "So here is my attempt at visualising the #tidyverse pivot_longer() and pivot_wider functions, used when doing #dataScience in #Rstats - Thoughts? 💻📉📈📊👇 https://t.co/7SjunRnWA1" / X
![Data Analysis and Visualisation in R for Ecologists: Manipulating, analyzing and exporting data with tidyverse Data Analysis and Visualisation in R for Ecologists: Manipulating, analyzing and exporting data with tidyverse](https://datacarpentry.org/R-ecology-lesson/fig/pivot_wider_graphic.png)