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.