retrieve rows from a data frame

0

I need to retrieve the entire DF line, in a new DF, only when I find the element of the vector, in the DF id field

ids 2001586 , 2007037,2012677,2020645)

df

asked by anonymous 27.03.2017 / 20:27

1 answer

0

result df [1] == (lapply (df [1], function (x) intersect (ids, x))),

    
28.03.2017 / 21:02