Learn R Programming

mdatools (version 0.9.1)

plotMisclassified.classmodel: Misclassified ratio plot for classification model

Description

Makes a plot with misclassified ratio values vs. model complexity (e.g. number of components)

Usage

# S3 method for classmodel
plotMisclassified(obj, nc = NULL, ...)

Arguments

obj

classification model (object of class plsda, simca, etc.).

nc

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

...

most of the graphical parameters from mdaplotg function can be used.

Details

See examples in description of plsda, simca or simcam.