plotPredictions.classmodel {mdatools} | R Documentation |
Makes a plot with class predictions for a classification model.
## S3 method for class 'classmodel' plotPredictions( obj, res.name = NULL, nc = seq_len(obj$nclasses), ncomp = NULL, main = NULL, ... )
obj |
a classification model (object of class |
res.name |
name of result object to make the plot for ("test", "cv" or "cal"). |
nc |
vector with class numbers to make the plot for. |
ncomp |
what number of components to make the plot for. |
main |
title of the plot (if NULL will be set automatically) |
... |
most of the graphical parameters from |
See examples in description of plsda
, simca
or simcam
.