Learn R Programming

mdatools (version 0.5.3)

plot.plsda: Model overview plot for PLS-DA

Description

Shows a set of plots (x residuals, regression coefficients, misclassification ratio and predictions) for PLS-DA model.

Usage

## S3 method for class 'plsda':
plot(x, ncomp = NULL, nc = 1, show.legend = T,
  show.labels = F, ...)

Arguments

x
a PLS-DA model (object of class plsda)
ncomp
how many components to use (if NULL - user selected optimal value will be used)
nc
which class to show the plots
show.labels
logical, show or not labels for the plot objects
show.legend
logical, show or not a legend on the plot
...
other arguments

Details

See examples in help for plsda function.