plot.plsda: Model overview plot for PLS-DA

View source: R/plsda.R

plot.plsdaR 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.


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.