I have a data.table structure like so (except mine is really huge):
data.table
dt <- data.table(x=1:5, y=3:7, key=\'x\')
I want to loo
New answer, now that I think I understand what was requested:
> X <- data.table(x=x) > merge(dt, X) x y 1: 3 6 2: 4 7