Quantcast
Channel: Active questions tagged set-difference - Stack Overflow
Viewing all articles
Browse latest Browse all 35

Modifying Setdiff function in r [duplicate]

$
0
0

I am trying to find the difference between 2 tables based off one column but I am interested in knowing what is written in the whole row.

Table 1

enter image description here

Table 2

enter image description here

Currently I have used Setdiff(Table1$name, Table2$name) and it is returning "Susan" and "Frank". I am wondering if there is a way to return the whole row e.g. to show the other columns? Hence even though I am basing off the name, can the whole row with the name Susan show up? Thanks


Viewing all articles
Browse latest Browse all 35

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>