plot.pls | R Documentation |
Shows a set of plots (x residuals, regression coefficients, RMSE and predictions) for PLS model.
## S3 method for class 'pls'
plot(x, ncomp = x$ncomp.selected, ny = 1, show.legend = TRUE, ...)
x |
a PLS model (object of class |
ncomp |
how many components to use (if NULL - user selected optimal value will be used) |
ny |
which y variable to show the summary for (if NULL, will be shown for all) |
show.legend |
logical, show or not a legend on the plot |
... |
other arguments |
See examples in help for pls
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.