Shows a set of plots (x residuals, regression coefficients, RMSE and predictions) for PLS model.
# S3 method for pls
plot(x, ncomp = NULL, ny = 1, show.legend = T,
show.labels = F, ...)
a PLS model (object of class pls
)
how many components to use (if NULL - user selected optimal value will be used)
which y variable to show the summary for (if NULL, will be shown for all)
logical, show or not a legend on the plot
logical, show or not labels for the plot objects
other arguments
See examples in help for pls
function.