I have two values which their order is mismatched and values are ideally same.
When i calculate the string similaratity the score between them is far away from its ideal score
col_1 = c("USA,UK,APAC")
col_2 = c("UK,APAC,USA")
library(stringdist)
stringdist(col_1,col_2, method = 'jw')
How to identify that both col_1 and col_2 are similar even their order is miss-arranged.i.e is there any method to identify that both the values are ideally same