Makes a plot with predicted class values for classification results.
# S3 method for classres
plotPredictions(
obj,
nc = seq_len(obj$nclasses),
ncomp = obj$ncomp.selected,
ylab = "",
show.plot = TRUE,
...
)classification results (object of class plsdares, simcamres, etc.).
vector with classes to show predictions for.
model complexity (number of components) to make the plot for.
label for y axis
logical, shall plot be created or just plot series object is needed