Use pivot_wider() to shape your data. R programming from beginners.

  Рет қаралды 11,264

R Programming 101

R Programming 101

Күн бұрын

Пікірлер: 27
@RProgramming101
@RProgramming101 Жыл бұрын
Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/rprogramming-resource-library
@muhammedhadedy4570
@muhammedhadedy4570 2 жыл бұрын
Waiting for every single video on your KZbin channel. Thank you so much.
@RProgramming101
@RProgramming101 2 жыл бұрын
Most welcome 😊 Thanks for the lovely feedback.
@nabeelsiddiqui3377
@nabeelsiddiqui3377 2 жыл бұрын
I absolutely love that you are like the only one that uses large text. I always watch these on my phone. Please cover more advanced topics as well such as multilevel regression, etc.
@RProgramming101
@RProgramming101 2 жыл бұрын
Thanks for the feedback! Will do :)
@JacquesHenriqueDias
@JacquesHenriqueDias 2 жыл бұрын
you and your habit of saving my life when I'm coding in r. Thank you very much, have a nice weekend!
@RProgramming101
@RProgramming101 2 жыл бұрын
Wow Jacques - what a nice thing to say (thanks!!)
@josephkimote661
@josephkimote661 2 жыл бұрын
Your work is wow! Take us through data imputation too
@oliviagrau3749
@oliviagrau3749 2 жыл бұрын
Thank you for the great videos. Could you make a video focused on manipulating dates, like converting characters to dates, extracting a certain part of a date or grouping date-hours into days, etc.?
@RProgramming101
@RProgramming101 2 жыл бұрын
Will do.
@TimothyChenAllen
@TimothyChenAllen Жыл бұрын
You had me at "boom-shaka-laka"
@RProgramming101
@RProgramming101 Жыл бұрын
Haha
@davidispiryan5689
@davidispiryan5689 2 жыл бұрын
Thanks a lot for all this great videos!!
@RProgramming101
@RProgramming101 2 жыл бұрын
Glad you like them! My pleasure!
@katyadimitrovapetrova9343
@katyadimitrovapetrova9343 10 ай бұрын
so useful, thank you
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
Greg, And then...? Once we have created our wide data then what? Other than just displaying it in human readable form? Can you give an example of use (are we getting average tree growth or...?). I figure that this exercise probably shows best the reason for using long data. Not having sensible variable names is quite confusing.
@RProgramming101
@RProgramming101 2 жыл бұрын
You make a good point. I prefer long data. My next video will be about how to get data from wide to long. Some people like wide data to help with time series analysis (for example) but even for that, I prefer long data
@Shawn-gm4cf
@Shawn-gm4cf 2 жыл бұрын
There is a great article on tidy data that explains why wide and long data matter written by the guy who came up with the Tidyverse. You can access it here: vita.had.co.nz/papers/tidy-data.pdf
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
@@Shawn-gm4cf The R guru Hadley Wickham?
@Shawn-gm4cf
@Shawn-gm4cf 2 жыл бұрын
@@haraldurkarlsson1147 Yep!
@mugomuiruri2313
@mugomuiruri2313 Жыл бұрын
Good
@RProgramming101
@RProgramming101 Жыл бұрын
Thanks
@vincentdujardin7322
@vincentdujardin7322 Жыл бұрын
And what if you have more than three original columns? How do you know where to put them?
@deekshashetty-xx3gq
@deekshashetty-xx3gq Жыл бұрын
can not find pivot_wider function, i m getting this error. Could you please help with this...
@Sorjen108
@Sorjen108 11 ай бұрын
Maybe because the tidyr package is not attached Load the tidyverse like below: library(tidyverse)
@dvojedece
@dvojedece 2 жыл бұрын
Love your videos, but the adds are a bit annoying
@RProgramming101
@RProgramming101 2 жыл бұрын
Thank you for the feedback.
Clean your data with R.   R programming for beginners.
27:31
R Programming 101
Рет қаралды 148 М.
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 24 МЛН
HELP!!!
00:46
Natan por Aí
Рет қаралды 11 МЛН
Reshape Data in R | Long to Wide Form | Wide to Long Form
18:30
The Data Hall
Рет қаралды 1,4 М.
R programming for ABSOLUTE beginners
14:13
R Programming 101
Рет қаралды 420 М.
Transform Your Data Like a Pro with {tidyr} and Say Goodbye to Messy Data!
13:17
Tidying data in R with pivot_wider()
12:41
Equitable Equations
Рет қаралды 11 М.
Explore your data using R programming
25:39
R Programming 101
Рет қаралды 108 М.
Manipulate your data.   Data wrangling.   R programmning for beginners.
29:59
R Programming 101
Рет қаралды 79 М.
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 218 М.
Describe and Summarise your data
19:44
R Programming 101
Рет қаралды 55 М.