[R] knn using custom distance metric

Xiao-Jun Ma xma at arcturusag.com
Sat Feb 7 01:52:11 CET 2004


Hi,

There are two packages providing knn classification: class and knnTree.
However, it seems both uses Eucleadian distances only. How can I uses a
custom distance function with either package?

Thanks,

Xiao-Jun




More information about the R-help mailing list