Model overview plot for PLS-DA

Share:

Description

Shows a set of plots (x residuals, regression coefficients, misclassification ratio and predictions) for PLS-DA model.

Usage

1
2
3
## S3 method for class 'plsda'
plot(x, ncomp = NULL, nc = 1, show.legend = T,
  show.labels = F, ...)

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

show.labels

logical, show or not labels for the plot objects

...

other arguments

Details

See examples in help for plsda function.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.