From this question Matching multiple columns on different data frames and getting other column as result
If I want to select a row which doesn't match in multiple column from two dataframe.
output <- merge(df1, df2, by.x='init', by.y='V2')
result <- df2[-output,] This code doesn't work.
The expect output is a row from df2 which doese not match in output. The expect output should be
V1 V2 V3
10 1 69094 medium
11 1 69094 medium
13 1 69095 medium
Thank you for all answer