Learn R Programming

mdatools (version 0.7.0)

plotRMSE.pls: RMSE plot for PLS

Description

Shows plot with root mean squared error values vs. number of components for PLS model.

Usage

"plotRMSE"(obj, ny = 1, type = "b", main = "RMSE", xlab = "Components", ylab = NULL, show.legend = T, show.labels = F, ...)

Arguments

obj
a PLS model (object of class pls)
ny
number of response variable to make the plot for (if y is multivariate)
type
type of the plot('b', 'l' or 'h')
main
main plot title
xlab
label for x axis
ylab
label for y axis
show.legend
logical, show or not legend for the plot
show.labels
logical, show or not labels for the plot elements
...
other plot parameters (see mdaplotg for details)

Details

See examples in help for pls function.