Summarizing Data using summarise()

Data Science with R Programming 6 min min read Updated: Mar 07, 2026 Intermediate
Summarizing Data using summarise()
Intermediate Topic 7 of 10

Summarise Function

The summarise() function calculates summary statistics for grouped data.

r mtcars %>% group_by(cyl) %>% summarise(avg_mpg = mean(mpg))

Next Tutorial: Joining Datasets

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators