Prediction plot for classification results
Makes a plot with predicted class values for classification results.
## S3 method for class 'classres' plotPredictions( obj, nc = seq_len(obj$nclasses), ncomp = obj$ncomp.selected, ylab = "", show.plot = TRUE, ... )
obj
: classification results (object of class plsdares
, simcamres
, etc.).nc
: vector with classes to show predictions for.ncomp
: model complexity (number of components) to make the plot for.ylab
: label for y axisshow.plot
: logical, shall plot be created or just plot series object is needed...
: most of the graphical parameters from mdaplotg
or mdaplot
function can be used.See examples in description of plsdares
, simcamres
, etc.