Makes a plot with specificity values vs. model complexity (e.g. number of components) for classification results.
# S3 method for classres
plotSpecificity(obj, nc = NULL, ...)
classification results (object of class plsdares
, simcamres
, etc.).
if there are several classes, which class to make the plot for (NULL - summary for all classes).
most of the graphical parameters from mdaplot
function can be used.