Re: [R] Help with data.table

2017-02-28 Thread François Morneau
Hello, Not sure but have you consider using : expand.grid(E1, E2) that will create a data.frame of all combinations of your two vectors and then use it for your search. Best, François Le 01/03/2017 à 08:27, Evan Kransdorf a écrit : Hello, I need some help with data.table. I am trying to

[R] Help with data.table

2017-02-28 Thread Evan Kransdorf
Hello, I need some help with data.table. I am trying to use data.table to do a binary search of a large table using 2 keys. KEY1 KEY2 PARAM1 row1 1 2-0.031 row2 2 8 -0.456 row3 3 24-7.86 row4 5 2 2.89 I set the keys: #DT<-setke