CommencerCommencer gratuitement

Computing multiple stats

Let's now combine everything from the past two exercises to find multiple summary statistic with multiple groups in batrips.

Cet exercice fait partie du cours

Data Manipulation with data.table in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Compute mean of duration and total trips grouped by start and end stations
aggregate_mean_trips <- batrips[, ___, ___]
aggregate_mean_trips
Modifier et exécuter le code