Data Wrangling In R with group_by() and summarise()

preview_player
Показать описание
Need summary statistics for subgroups in a data set? You came to the right place.
If this vid helps you, please help me a tiny bit by mashing that 'like' button. For more #rstats joy, crush that 'subscribe' button!
Рекомендации по теме
Комментарии
Автор

I can't believe that I'm saying this. But now I kinda love R!!
I used to HATE R with every bit of my soul, that's largely because it's substantially different from other programming languages I'm used to (most importantly Python, I've always been team Python). But now, I know why R is pretty handy at times, not only for those who are unfamiliar with programming languages and only want to get the job done with simple code, but also for professionals who are tired of specifying every single little thing in their code/graph/...

Thank you professor Andrew! I don't know if you realize it, but you do have a very unique way of illustrating concepts, and your approach on explaining the philosophy behind why R was designed the way it's designed really makes a huge difference. I'm really grateful to have found your videos, and I can't wait to finish this playlist (it's statistical programming with R btw)

Speaking of playlists, why don't you collect your half-hour videos (the ones that you collect multiple concepts/functions) in R in one playlist so that you can deliver the highest value in the least number of videos with minimal repetition? I think that would be a good idea. I'm talking about videos like 'Learn R in 39 minutes', 'Data Wrangling in R in 27 minutes', 'Data Visualization with R in 36 minutes'.

I wish you the best of luck!

mo-soliman
Автор

this was exactly what I needed, thanks :)

DonyCaspion
Автор

This video was beyond helpful.
Thank you

piersonlinde
Автор

Thanks for this super helpful lesson. Do you have a general process you go through when doing data wrangling/cleaning? It's hard to find forums or vids that address this particular question.

yakunats
Автор

I find that R seems to struggle to read in a column header with a space. For example I have no problem getting R to read in the column Carat but if I want R to take in column Carat UK then it doesn't seem to work. I have in my script Diamond %>% group_by(cut) %>% summaries(sum(carat), sum(carat UK)) and the final bit failed. it worked with the first bit though...

mfcutns