Makes a plot with predicted class values for classification results.
# S3 method for classres
plotPredictions(obj, nc = NULL, ncomp = NULL,
type = "p", main = NULL, ylab = "", ...)
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).
which number of components to make the plot for (one value, if NULL - model selected number will be used). This parameter shal not be used for multiclass models or results as predictions in this case are only for optimal number of components
type of the plot
main title for the plot
label for y axis