Group_by and summarize | Data untangled: transforming and cleaning data with R (lesson 5)

Описание к видео Group_by and summarize | Data untangled: transforming and cleaning data with R (lesson 5)

👋 LESSON MATERIALS 🛑

Get the data, scripts, PDF notes and quizzes for this lesson from our website:
https://thegraphcourses.org/courses/d...

If this is your first time coding along with us, watch this quick video to see how it works:    • How to practice along with the lesson...  

Chapters
00:00 Intro
02:25 Introducing dplyr::summarize()
6:29 Grouped summaries
12:22 Grouping by multiple variables
15:52 Ungrouping
19:30 Counting rows
27:07 Including missing combinations in summaries
35:29 Wrap-up

Learning objectives
1. You can use dplyr::summarize() to extract summary statistics from datasets.
2. You can use dplyr::group_by() to group data by one or more variables before performing operations on them.
3. You understand why and how to ungroup grouped data frames.
4. You can use dplyr::n() together with group_by()-summarize() to count rows per group.
5. You can use sum() together with group_by()-summarize() to count rows that meet a condition.
6. You can use dplyr::count() as a handy function to count rows per group.

----------------

And follow us on social media to get the latest updates!
Twitter:   / thegraphnetwork  
LinkedIn:   / the-graph-network  

Комментарии

Информация по комментариям в разработке