I'm presently learning R and I'm suppose to do a knn model on my dataset
I've tested this but that doesn't work at all.
predKNN = knn(app[,1:19], test[,1:19],test[,20], k = 3)
I get the following error
NAs introduced during the automatic conversion