how to compare locations with x and y coordinates with other set of locations having x and y coordinates

x=1:5
y=11:15
a=1:5
b=15:19
x=as.integer(x)
y=as.integer(y)
a=as.integer(a)
b=as.integer(b)
onlineloc=cbind(x,y)
instore=cbind(a,b)
match(instore,onlineloc)
it is treating x and y seperately not as one kindly suggest the right way

Please refrain from opening multiple topics on the question. You have asked and received answers here

1 Like

2 posts were merged into an existing topic: how i can do comparison of matrix of rows=10 and col=2 with other matrix (10,2)

Posts from this thread have been merged into: