Learn R Programming

FRESA.CAD (version 3.4.7)

predict.FRESAKNN: Predicts class::knn models

Description

This function predicts the outcome from a FRESAKNN model

Usage

# S3 method for FRESAKNN
predict(object,...)

Value

A vector of the predicted values

Arguments

object

An object of class FRESAKNN containing the KNN train set

...

A list with: testdata=testdata

Author

Jose G. Tamez-Pena

See Also

KNN_method, class::knn