Skip to content

How to do knn regression

1 message · Liaw, Andy

#
ksmooth() will work for you, since you only have one predictor.  There are
better choices, though, such as loess().

Andy