I have this dataframe:
[,1] [,2]
[1,] "CHC.AU.Equity" "SGP.AU.Equity"
[2,] "CMA.AU.Equity" "SGP.AU.Equity"
[3,] "AJA.AU.Equity" "AOG.AU.Equity"
[4,] "AJA.AU.Equity" "GOZ.AU.Equity"
[5,] "AJA.AU.Equity" "SCG.AU.Equity"
[6,] "ABP.AU.Equity" "AOG.AU.Equity"
[7,] "AOG.AU.Equity" "FET.AU.Equity"
[8,] "SGP.AU.Equity" "CHC.AU.Equity"
How would one filter for just the unique pairs? E.g. - in the df above, row 8 would 'match' row 1, and be excluded. I am trying to use setequal(), but I cant seem to get it to work. Is there a 'setunique' type funtion?