| predict.knn.prmdt | R Documentation | 
Return prediction for a train.kknn model.
## S3 method for class 'knn.prmdt'
predict(object, newdata, type = "class", ...)
| object | a  | 
| newdata | an optional data frame in which to look for variables with which to predict. | 
| type | type of prediction 'prob' or 'class' (default). | 
| ... | additional arguments affecting the predictions produced. | 
a vector or matrix of predictions for knn model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.