plotPredictions.classres function

Prediction plot for classification results

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, ... )

Arguments

  • 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 axis
  • show.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.

Details

See examples in description of plsdares, simcamres, etc.

  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19