Shows a set of plots (x residuals, regression coefficients, misclassification ratio and predictions) for PLS-DA model.
# S3 method for plsda
plot(x, ncomp = x$ncomp.selected, nc = 1, show.legend = TRUE, ...)
a PLS-DA model (object of class plsda
)
how many components to use (if NULL - user selected optimal value will be used)
which class to show the plots
logical, show or not a legend on the plot
other arguments
See examples in help for plsda
function.