1. 学ぶ
  2. /
  3. コース
  4. /
  5. Data Manipulation with data.table in R

Connected

演習

Computing in j (I)

Since columns can be treated as variables inside data.table's square brackets ([ ]), you can compute on the columns directly in j.

指示1 / 2

undefined XP
  • 1

    Using the j argument, find the median duration (the result should be a vector of length 1).

  • 2

    Now, find the median duration where end_station is "Market at 10th" for all subscribers.