1. 学习
  2. /
  3. 课程
  4. /
  5. Data Manipulation with data.table in R

Connected

练习

Computing stats by groups (I)

So far you have worked with the two dimensions, rows and columns of a data.table. It's now time to consider the virtual third dimension by dividing rows into groups to calculate statistics.

说明

100 XP

Compute the mean duration for every start_station, calling the aggregated column mean_duration.