Skip to content
Prev 167281 / 398502 Next

matching more than two vectors (?)

Dear listmembers,
?
I am trying to obtain values for pointdistance from another dataframe by matching UTMX and UTMY coordinates,?but I am not sure how to introduce the second coordinate. 
?
PointDF$pointdistance=DistanceDF$distance[match(PointDF$UTMX,DistanceDF$UTMX & PointDF$UTMY,DistanceDF$UTMY )]
?
is wrong but (hopefully) illustrates what I am trying to do. 
?
Could somebody help ?
?
Thank you very much.
?
?
Juliane