VOOZH about

URL: https://www.geeksforgeeks.org/r-language/condense-column-values-of-a-data-frame-in-r-programming-summarise-function/

⇱ Condense Column Values of a Data Frame in R Programming - summarise() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Condense Column Values of a Data Frame in R Programming - summarise() Function

Last Updated : 15 Jul, 2025
summarise() function in R Language is used to condense various values of column of a data frame to one value.
Syntax: summarise(x, expr) Parameters: x: Data Frame expr: Operation to condense data
Example 1: Output:
 min_age
1 5
 max_age
1 16
Example 2: Output:
 mean
1 9.25
 med
1 8
Comment
Article Tags:

Explore