I'm working in R project. The table looks like this :
| x | o | o | x | 120
| x | x | x | o | 115
| o | o | o | x | 100
And another table :
| 1 | o | o | o | x |
| 2 | x | x | x | o |
| 3 | o | x | o | x |
| 4 | o | o | o | o |
My question is, how to combine it so :
| 1 | o | o | o | x | 100
| 2 | x | x | x | o | 115
It's ok if the first column isn't sorted. If the x o x o are same, it's joined. Any idea?