dplyr: Grouping

Channel:
Subscribers:
54,100
Published on ● Video Link: https://www.youtube.com/watch?v=R0Ec6NiSgGM



Duration: 4:57
5,609 views
116


The group_by function in dplyr lets use other functions like summarize and mutate on subgroups within a data frame rather than operating on entire columns all at once. This is useful for generating statistics and creating new variables according to the levels of categorical variables.

Link to the Kaggle Notebook code used for this video series:
https://www.kaggle.com/hamelg/dplyr-in-r

View the whole dplyr in R playlist here:
https://www.youtube.com/watch?v=THGFXV4RW8U&list=PLiC1doDIe9rC8RgWPAWqDETE-VbKOWfWl

dplyr cheat sheet from RStudio:
https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf

dplyr documentation:
https://cran.r-project.org/web/packages/dplyr/dplyr.pdf


Follow DataDaft on social media for news and updates:
Twitter: https://twitter.com/DataDaft

Join the DataDaft Discord to discuss all things data science:
https://discord.gg/ZS2yPNw

#dplyr #rprogramming #datascience







Tags:
dplyr group by
dplyr group_by summarize
dplyr group_by
dplyr grouping
group by in r
group_by in r