knnf {classifly}R Documentation

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


[Package classifly version 0.4.1 Index]