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.
Deze oefening maakt deel uit van de cursus
Data Manipulation with data.table in R
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Calculate median duration using the j argument
median_duration <- ___
median_duration