Learn R Programming

mdatools (version 0.7.0)

plot.plsdares: Overview plot for PLS-DA results

Description

Shows a set of plots (x residuals, y variance, classification performance and predictions) for PLS-DA results.

Usage

"plot"(x, nc = NULL, ncomp = NULL, show.labels = F, show.line = T, ...)

Arguments

x
PLS-DA results (object of class plsdares)
nc
which class to show the summary for (if NULL, will be shown for all)
ncomp
how many components to use (if NULL - user selected optimal value will be used)
show.labels
logical, show or not labels for the plot objects
show.line
logical, show or not target line on predictions plot
...
other arguments

Details

See examples in help for pls function.