Predictions from k-Nearest Neighbors
Predict the class of a new observation based on k-NN.
## S3 method for class 'knn3': predict(object, newdata, type=c("prob", "class"), ...)
- Either the predicted class or the the proportion of the votes for each class.
Looks like there are no examples yet.