Learn R Programming

clst (version 1.20.0)

printClst: Print a summary of the classifier output.

Description

Prints a description of the output of classify.

Usage

printClst(cc, rows = 8, nameWidth = 30, groupNames)

Arguments

cc
Output of classify
rows
Number of rows corresponding to groups of reference objects to show.
nameWidth
Character width of group names.
groupNames
a named vector containing replacement names for groups keyed by categories in groups (classify) or groupTab (classifyIter).

Value

Output value is NULL; output is to stdout.

See Also

classify, classifyIter

Examples

Run this code
data(iris)
dmat <- as.matrix(dist(iris[,1:4], method="euclidean"))
groups <- iris$Species

Run the code above in your browser using DataLab