They are very different. Mutate works even when the data frame is not grouped, but summarize will only work when the data frame is grouped, and it will use the logic of the pre selected group to arrange the data. To further understand the summarize function, first you will need to further understand what grouping does.
Hey great video. I was wondering how you're opening the dataframe in the source editor? Is it because you are using R markdown? And why are you using R markdown as opposed to R script?
Good question - I’m running each of the code chunks in the notebook with the keyboard shortcut control/command + shift + enter. This is how the data frame keeps showing up (because I’m printing it). I like using R markdown/R notebooks when I’m doing write ups or tutorials just because it’s easier to separate the code into blocks and add comments
It would be cool if you did some videos on text analysis. I'm interested in learning how to use Quanteda and Tidytext but there just aren't many good tutorials on them.
I am glad I found this channel. This is awesome. Also, R is very powerful when it comes to data cleaning and wrangling. Even plotting becomes really flexible with the use of tidyverse. I don’t understand the hype behind Python. Yes, python is good for Machine Learning and other stuff. But R has an upper hand in my opinion when it comes to data preparation.
Even in the Machine Learning universe R is pretty useful and competitive. Python is more adopted and praised just because the companies are used to produce projects with it, so the cycle of usage and recommendation keeps going on. R can do everything that Python does, and sometimes with cleaner code and a more simplified syntax.
Hey, I have an off-topic question. Please ignore it if you find it rude. I am German and I am still kind of trying to figure out subtle differences in how some English speakers speak. Are you Asian by any chance? Like I said, just ignore it if you find the question weird or annoying. Thanks for all the videos you make, they are exactly what I need to not lose my R skills as I don't need to use them that often
@@datasliceIt took me a while to figure out, but there's a small fitness youtuber I follow called Ericliaoo. I feel like your voice or way of speaking is somehow similar.
How can I reduce question scales of a survey question? for example, the question has 10 options (1-10), but I want to reduce to 3 options (0 = 1 2 3) (1 = 4 5 6 7) (2 = 8 9 10). Could you please help or indicate any video?
Wow, dude, thank you so much for this video and your clear explanations! You avoid most of the jargon and explain the concepts so well. Thank you so much!
Thanks for the great video. I thought I was actually pretty good with dplyr until I watched this. :) By the way, how do you get the data to show up in a "View like" thing right below your dplyr command??
I'm using an R Notebook which you can access in RStudio from File > New. The R Notebook allows you to separate your code chunks (using control + alt + i) and then run a whole chunk of code with 'control + shift + enter', or just a single line with 'control + enter' -- the output will appear underneath.
Watch part 2 here! th-cam.com/video/DiY8EqZDwoI/w-d-xo.html
Thank you for the quality R education!
Excellent way to summarise() the uses of dplyr with some great tips.
I love the way you explain R code. Greetings from Chile
Just when I thought you went on a hiatus, you're back with an excellent video. Thank you for your amazing tutorials!!
Thanks! Work/life has been a little busier but I’m trying to upload more frequently now
Best channel in R! Please don't stop making these.
A shortcut in arrange() is to use a minus sign instead of desc().
What is the difference between summarize and mutate?
They are very different. Mutate works even when the data frame is not grouped, but summarize will only work when the data frame is grouped, and it will use the logic of the pre selected group to arrange the data. To further understand the summarize function, first you will need to further understand what grouping does.
Anyone watching in 2024?
the dataset had 50K rows when this video got out
now it has whopping 330K rows
Wow this is a great video. Do you tutor for R programming by chance? LOL
somehow my brain just works better when watching UT than in the lecture..
This video is amazing. You explain really well. Thank you !!
Great to have you back :D
Hey great video. I was wondering how you're opening the dataframe in the source editor? Is it because you are using R markdown? And why are you using R markdown as opposed to R script?
Good question - I’m running each of the code chunks in the notebook with the keyboard shortcut control/command + shift + enter. This is how the data frame keeps showing up (because I’m printing it). I like using R markdown/R notebooks when I’m doing write ups or tutorials just because it’s easier to separate the code into blocks and add comments
It would be cool if you did some videos on text analysis. I'm interested in learning how to use Quanteda and Tidytext but there just aren't many good tutorials on them.
Good idea, I’ll try to cover that soon!
@@dataslice Thanks! Your videos are so helpful.
3:48 shouldn’t u do -c() to concatenate instead of doing the - twice
Very nice explanation... Thank you...
I am glad I found this channel. This is awesome. Also, R is very powerful when it comes to data cleaning and wrangling. Even plotting becomes really flexible with the use of tidyverse. I don’t understand the hype behind Python. Yes, python is good for Machine Learning and other stuff. But R has an upper hand in my opinion when it comes to data preparation.
Even in the Machine Learning universe R is pretty useful and competitive. Python is more adopted and praised just because the companies are used to produce projects with it, so the cycle of usage and recommendation keeps going on. R can do everything that Python does, and sometimes with cleaner code and a more simplified syntax.
cant thank you enough for these videos❤
Welcome back. More Jekyll please 🙌🏽
Succinct and well organized
this is hands down the best dplyr breakdown
Hey, I have an off-topic question. Please ignore it if you find it rude. I am German and I am still kind of trying to figure out subtle differences in how some English speakers speak. Are you Asian by any chance? Like I said, just ignore it if you find the question weird or annoying. Thanks for all the videos you make, they are exactly what I need to not lose my R skills as I don't need to use them that often
I am in fact south Asian - what gave it away?
@@datasliceIt took me a while to figure out, but there's a small fitness youtuber I follow called Ericliaoo. I feel like your voice or way of speaking is somehow similar.
Thanks bro helped me a lot, can I have your e-mail for something, I can contact you if I have any further query
How can I reduce question scales of a survey question? for example, the question has 10 options (1-10), but I want to reduce to 3 options (0 = 1 2 3) (1 = 4 5 6 7) (2 = 8 9 10). Could you please help or indicate any video?
very short but easy to understand video for data wrangling with R/Rstudio.
Wow, dude, thank you so much for this video and your clear explanations! You avoid most of the jargon and explain the concepts so well. Thank you so much!
Okuneva Port
very much thank youuuuuuuuuu
Great video! Yet, instead of using the rather unsemantic `.$song` in 7:49, you should use `pull(song)`
Could you share what your themes and fonts you use for rstudio?
RStudio Theme: Modern, Font: Monaco, Editor theme: Dracula
thank you, it helped me a lot :) and I like how you describe everything!
Thank You bro.
Nicest tutorial on dplyr. Awesome teaching style.
Thx
Can you please use a light screen, it is very difficult to read what is written on the screen in dark mode.
Nice
Thanks for these videos, really improves my workflow.
Start my new, first job working as an analyst. Thank you for the refresher sir
Would anyone help me code something in R right now??
SSS+ tutorial, short and clear explanation
Good job 👍
really great video i am using as a refresher since i don't get to use R at work much
Excellent video, thanks!
Wow you did great 👍.. May God grant you more.
You're an excellent teacher. Subscribed!
Great video! QQ - when I run the code in each section, I only see 10 rows populate. How are you generating your nice-looking table above the console?
If you still don't find the answer, he used another file type that is called 'R markdown'. I just recently know that, too.
Thanks for the great video. I thought I was actually pretty good with dplyr until I watched this. :) By the way, how do you get the data to show up in a "View like" thing right below your dplyr command??
I'm using an R Notebook which you can access in RStudio from File > New. The R Notebook allows you to separate your code chunks (using control + alt + i) and then run a whole chunk of code with 'control + shift + enter', or just a single line with 'control + enter' -- the output will appear underneath.
Really enjoyed this video.
Great information, I love it!
awesome video - thanks!
Learned so much man!! Thanks
Thanks for making this fun!
Thanks! This is a great demo :)
This is fantastic tutorial. Great job!
Great video!
A+