Learn R Programming

mdatools (version 0.7.0)

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

"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.legend
logical, show or not a legend on the plot
show.labels
logical, show or not labels for the plot objects
...
other arguments

Details

See examples in help for plsda function.