plot.plsda {mdatools}R Documentation

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 = x$ncomp.selected, nc = 1, show.legend = TRUE, ...)

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

...

other arguments

Details

See examples in help for plsda function.


[Package mdatools version 0.14.1 Index]