Learn R Programming

mdatools (version 0.14.2)

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 plsdares
plot(x, nc = 1, ncomp = x$ncomp.selected, show.labels = FALSE, ...)

Arguments

x

PLS-DA results (object of class plsdares)

nc

which class to show the plot for

ncomp

how many components to use

show.labels

logical, show or not labels for the plot objects

...

other arguments

Details

See examples in help for pls function.