Given two numeric vectors of possibly unequal length, I'd like to pair  
each element of the shorter vector with an element of the longer  
vector such that the sum of squared differences between the pairs is  
minimized.  Can someone point me to an R function or an algorithm for  
accomplishing this?

All the best,
Tom

Thomas S. Dye, Ph.D.
T. S. Dye & Colleagues, Archaeologists, Inc.
Phone: (808) 529-0866 Fax: (808) 529-0884
http://www.tsdye.com



	[[alternative HTML version deleted]]

