Czerminski, Ryszard <Ryszard.Czerminski <at> astrazeneca.com> writes:

> 
> I am looking for an efficient way to find near neighbors...
> 
> More specifically...
> I have two sets of points: A & B and I want to find
> points in set B which are closer to set A than some
> cutoff (or n-closest)
> 
> I will appreciate very much any pointers...
> 
> Ryszard
> 

'nn' in the RANN package represents a good solution for this task as it 
implements a very fast algorithm and provides the ability to search for 
nearest neighbors only within a certain radius.

Hans Werner

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to