knnf {classifly}R Documentation

knn, with formula

Description

A wrapper function for knn to allow use

Usage

knnf(formula, data, k=2)

Arguments

formula classification formula
data training data set
k number of neighbours to use

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package classifly version 0.2.3 Index]