Learn R Programming

mdatools (version 0.5.3)

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

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

Arguments

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

Details

See examples in help for pls function.