LoslegenKostenlos loslegen

Computing multiple stats

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

Diese Übung ist Teil des Kurses

Data Manipulation with data.table in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Compute mean of duration and total trips grouped by start and end stations
aggregate_mean_trips <- batrips[, ___, ___]
aggregate_mean_trips
Code bearbeiten und ausführen