Computing multiple stats
Let's now combine everything from the past two exercises to find multiple summary statistic with multiple groups in batrips.
Questo esercizio fa parte del corso
Data Manipulation with data.table in R
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Compute mean of duration and total trips grouped by start and end stations
aggregate_mean_trips <- batrips[, ___, ___]
aggregate_mean_trips