Aggregating observations

aggregate_by()

Aggregating observations on some variables