Shows a set of plots (x residuals, regression coefficients, misclassification ratio and predictions) for PLS-DA model.
# S3 method for plsda
plot(x, ncomp = NULL, nc = 1, show.legend = T,
show.labels = F, ...)
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
logical, show or not labels for the plot objects
other arguments
See examples in help for plsda
function.