Can anyone explain the aggregate function in layman's terms?

I do not entirely understand the definition in r help - "Splits the data into subsets, computes summary statistics for each, and returns the result in a convenient form."

What is it used for?
How do you use it?

Hey there, I know it is not easy to understand about this function at first. But the aggregate itself means to collect or gather into a mass or whole. For example, the census data were aggregated by gender. Other meaning, to amount to (a whole sum or total): total audiences aggregating several million people.

It helps us to 'extract' the meaningful insights from the data. In R, we use aggregate by whatever parameter inside the bracket could be mean, median, etc. That's how it works :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

Thank you. Good explanation