How come I cannot use by when computing a new variable by from two data.tables following a merge?
by
data.tables
Example datasets:
library(dat