Report question

Question: data.table efficient alternative to grouped assignment as DT[ ,x:=f(y),by=z]?