[R] Nearest Neighbors

olemissrebs1123 adrian.wilsonphd at gmail.com
Tue Jul 24 18:26:49 CEST 2012


I was wondering if there is a way in R to find k nearest neighbors of various
orders, say order 2, 3, or 4. In otherwords neighbors of neighbors of
neighbors. You get the idea. I know that I can use knearneigh(matrix.data,
k) but this only gives me the k nearest neighbors and not of a particular
order. 


Thanks in advance. 



--
View this message in context: http://r.789695.n4.nabble.com/Nearest-Neighbors-tp4637618.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list