I am trying to run an analysis where:
- Step 1: x1 and x2 will be matched (merge) first.
- Step 2: Within the matched result y1 and y2 will be matched (merge).
- Expected result will be the data where y1 and y2 have finally matched (merge) and I'll get to see the z and N where x1=x2 within which y1=y2.
Data within x1, y1, x2, y2 aren't unique which is why I can't merge or append the datasets.
I was hoping to run this process in a loop.
Thanks in advance.
0 Response to Comparing two datasets by two variables
Post a Comment