numToChar: Classify k-nearest neighbour vector

Description Usage Arguments Value Examples

Description

A numerical vector of probabilities of a point belonging to a class of cats dogs or maggots. The output is the character label of the class with the highest probability

Usage

1
numToChar(classVector)

Arguments

classVector

A vector of numerical class predictions for new data points.

Value

Vector of character labels of classes

Examples

1
2
num.class <- c(.73, 0.5, 0.98)
numToChar(num.class)

rishi1226/lClass documentation built on May 27, 2019, 9:10 a.m.