plotPredictions.classres: Prediction plot for classification results
Description
Makes a plot with predicted class values for classification
results.
Usage
## S3 method for class 'classres':
plotPredictions(obj, nc = NULL, ncomp = NULL,
type = "p", legend = NULL, main = NULL, xlab = "Objects",
ylab = NULL, ylim = c(-1.2, 1.2), ...)
Arguments
obj
classification results (object of class
plsdares, simcamres, etc.).
nc
if there are several classes, which class to
make the plot for (NULL - summary for all classes).
ncomp
which number of components to make the plot
for (can be one value for all classes or vector with
separate values for each, if NULL - model selected number
will be used).
type
type of the plot
legend
vector with legend items
main
main title for the plot
xlab
label for x axis
ylab
label for y axis
ylim
vector with two values - limits for y axis
...
most of the graphical parameters from
mdaplotg or mdaplot function
can be used.