None that I know of, but it should be fairly easy to modify knn() in the
`class' package (part of the VR bundle) and the C code it calls so that the
indices of the neighbors are returned.
HTH,
Andy
> From: Wayne Jones
>
> Hi there fellow R-users,
>
> Does anyone know of a function which does exactly what
> knearneigh{spdep}
> (finds the k nearest neighbours) does in the package spdep
> but for more than
> 2D data?
>
> Regards
>
> Wayne
>
>
>
> KSS Ltd
> Seventh Floor St James's Buildings 79 Oxford Street
> Manchester M1 6SS England
> Company Registration Number 2800886
> Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305
> mailto:[EMAIL PROTECTED] http://www.kssg.com
>
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html