Makes a plot with class predictions for a classification model.
# S3 method for classmodel
plotPredictions(obj, res = NULL, nc = NULL,
ncomp = NULL, main = NULL, ...)a classification model (object of class simca, plsda, etc.). if NULL value
is specified, the result will be selected automatically by checking the nearest available from
test, cv and calibration results.
which result to make the plot for ('calres', 'cvres' or 'testres').
if there are several classes, which class to make the plot for (NULL - for all).
what number of components to make the plot for (NULL - for selected in the model).
main title for the plot
most of the graphical parameters from mdaplotg function can be used.