Shows plot with root mean squared error values vs. number of components for PLS model.
# S3 method for pls
plotRMSE(obj, ny = 1, type = "b", main = "RMSE",
xlab = "Components", ylab = NULL, labels = "values", ...)
a PLS model (object of class pls
)
number of response variable to make the plot for (if y is multivariate)
type of the plot('b', 'l' or 'h')
main plot title
label for x axis
label for y axis
what to show as labels (if this option is on)
other plot parameters (see mdaplotg
for details)
See examples in help for pls
function.