Skip to content
Prev 43301 / 398506 Next

distance between two matrices

You can try and see if knn1() in the `class' package (part of the VR bundle)
can handle the job in one shot.  If not, just do it in chunks of B.  For
your example:
[1] 3 2 3
Levels: 1 2 3 4 5 6

(I believe it returns factor, but that can easily be converted back to
numeric.)

HTH,
Andy
------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}