Learn R Programming

classifly (version 0.4.1)

knnf: A wrapper function for knn to allow use with classifly.

Description

A wrapper function for knn to allow use with classifly.

Usage

knnf(formula, data, k = 2)

Arguments

formula

classification formula

data

training data set

k

number of neighbours to use