Learn R Programming

mdatools (version 0.9.1)

summary.classres: Summary statistics about classification result object

Description

Generic summary function for classification results. Prints performance values for the results.

Usage

# S3 method for classres
summary(object, ncomp = NULL, nc = NULL, ...)

Arguments

object

classification results (object of class plsdares, simcamres, etc.).

ncomp

which number of components to make the plot for (can be one value for all classes or vector with separate values for each, if NULL - model selected number will be used).

nc

if there are several classes, which class to make the plot for (NULL - summary for all classes).

...

other arguments