Makes a plot with specificity values vs. model complexity (e.g. number of components) for classification results.
# S3 method for classres
plotSpecificity(obj, legend.position = "bottomright", ...)
classification results (object of class plsdares
, simcamres
, etc.).
position of the legend (as in mdaplotg
).
other parameters for plotPerformance.classres
See examples in description of plsdares
, simcamres
, etc.