[R] Nearest Neighbour for prediction

Liaw, Andy andy_liaw at merck.com
Mon Feb 23 01:51:48 CET 2004


Try:

library(class)
?knn
example(knn)

Andy

> From: liu qin
> 
> Does anybody know how to use nearest neighbour in R to
> predict anything? I am stuck here. I would be really
> really grateful if anyone could help. Thank you for
> the help.
> 
> Qin 
> 
> Ph.D. Student
> U.K.


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




More information about the R-help mailing list