I have two dataframes,
A(514 rows)
1 2
2 3
4 5
1 3
5 6
...
B(696 rows)
1 2
3 4
4 5
1 3
5 7
5 6
.....
I want to get those rows and their corresponding columns which are present in B but not in A. For example, the result will be,
3 4
5 7
How can I do it in R?
I tried using this post answers: Compare two data.frames to find the rows in data.frame 1 that are not present in data.frame 2
But here, the first answer difference doesnt give the correct output.