plot.plsda | R Documentation |
Shows a set of plots (x residuals, regression coefficients, misclassification ratio and predictions) for PLS-DA model.
## S3 method for class 'plsda'
plot(x, ncomp = x$ncomp.selected, nc = 1, show.legend = TRUE, ...)
x |
a PLS-DA model (object of class |
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 |
See examples in help for plsda
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.