[R-sig-Geo] How extract multiple points from a buffer created from the same points?

GD grothered at gmail.com
Mon Dec 2 03:07:46 CET 2013


I'm not 100% sure what you mean -- but it sounds like could try running
'spDists' on the tree's coordinates, which will return a distance matrix for
the trees (i.e. all pairwise distances). Then for each row, you could find
the indices which are < your distance threshold -- this should tell you the
neighbours of each tree. 



--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/How-extract-multiple-points-from-a-buffer-created-from-the-same-points-tp7585239p7585250.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list