On Thu, 24 Apr 2008, Franck Nadaud wrote:
Well, my problem is that I do not see how to grab not the values of
sorted
distances but the indexes of data points. Here is the code :
...
You're right, there's no easy way. However, you can use the iminc() or
iminr() functions plus some little trick. Can you check if the attached
script does what you want?
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti